Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-8331

Move some of the duplicate entity check code to the client

XMLWordPrintable

      It'd be nice if our entity pages informed the user of possible duplicates before they submitted the form. This'd be a prerequisite for moving the editing pages to React and away from FormHandler.

      I think it'd be sufficient to have the JS (and HTML5 'required' attribute, where that exists) block submission, and to move the existing FormHandler validation to the actual edit class initialization methods, since I assume we want to enforce the disambiguation rules no matter how the edits are created (e.g. if the pages were changed to use an editable web service later).

            bitmap Michael Wiencek
            bitmap Michael Wiencek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2015-07-13