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

Changing work attribute type always keeps the old value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021-06-14
    • Component/s: Editing interface
    • Labels:
      None

      Description

      When editing a work, the code is meant to empty the value field when you change the attribute type (see root/static/scripts/work.js). That does not work though (it always compares the ID after the change), so the ID is always kept, even when it doesn't make any sense - for example, if you change from an attribute with a fixed-value select to a free text attribute, the ID from the selected value will now be the free text value for the attribute.

        Attachments

          Activity

            People

            Assignee:
            reosarevok Nicolás Tamargo
            Reporter:
            reosarevok Nicolás Tamargo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2021-06-14