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

Suggest ways around errors on mismatched entity type in external links editor

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • URL cleanup
    • None

      When an URL is valid but there is no relationship type for the current entity type (e.g. trying to link a YT video to an MB artist), there usually are two ways around:

      • Either link this URL to an entity of another type (e.g. MB recording instead of MB artist);
      • Or link another URL to the current entity (e.g. YT channel instead of YT video).

      There currently are some error messages that come with such suggestion. But these are custom messages crafted for a small number of frequent errors only.

      To generalize such suggestions, these messages should be replaced with a generic error message.

      Implementation notes: Returning two additional properties suggested_entity_type (set to recording in the above example) and suggested_url_subpattern (set to youtube.com/channel/ in the above example) can help with providing the same level of details via a generic error message.

            Unassigned Unassigned
            yvanzo yvanzo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package