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

Artist editor URL seeding displays empty text field

    XMLWordPrintable

    Details

      Description

      Seeding the artist editor with new URL relationships leads to a new field being displayed under "External Links" but the text is empty, e.g.

      https://musicbrainz.org/artist/edb1d78d-70bb-4989-ad30-13be2fd05447/edit?edit-artist.url.3.text=https://twitter.com/Lanowa1&edit-artist.url.3.link_type_id=192

      If the link type parameter is removed then the relationship type must be selected, but the Twitter icon is displayed next to the input field and the available types are restricted to "social networking" only, which indicates the URL must be being parsed correctly:

      https://musicbrainz.org/artist/edb1d78d-70bb-4989-ad30-13be2fd05447/edit?edit-artist.url.3.text=https://twitter.com/Lanowa1

      Also, the index number within the parameter (e.g. edit.artist.url.N.text) name appears to have no bearing on where the new link is added in the UI. If only a URL parameter is included then the field appears as #1 in the list regardless of index, e.g.:

      https://musicbrainz.org/artist/edb1d78d-70bb-4989-ad30-13be2fd05447/edit?edit-artist.url.1.text=https://twitter.com/Lanowa1

      https://musicbrainz.org/artist/edb1d78d-70bb-4989-ad30-13be2fd05447/edit?edit-artist.url.2.text=https://twitter.com/Lanowa1

      However if a link_type_id parameter is included then the new field appears as #2 in the list regardless of index, e.g.:

      https://musicbrainz.org/artist/edb1d78d-70bb-4989-ad30-13be2fd05447/edit?edit-artist.url.1.text=https://twitter.com/Lanowa1&edit-artist.url.1.link_type_id=192

      https://musicbrainz.org/artist/edb1d78d-70bb-4989-ad30-13be2fd05447/edit?edit-artist.url.2.text=https://twitter.com/Lanowa1&edit-artist.url.2.link_type_id=192 

        Attachments

          Activity

            People

            Assignee:
            reosarevok Nicolás Tamargo
            Reporter:
            atj atj
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2021-10-04