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

Duplicate relationships with attributes cause internal server error in release relationship editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2014-12-01
    • Component/s: Relationship editor
    • Labels:
      None

      Description

      If you manage to submit a duplicate relationship to /ws/js/edit with any number of attributes, you'll violate an l_*_*_idx_uniq constraint because Data::Link->find doesn't know how to use the link attribute type gids that get submitted (it only understands integer ids).

        Attachments

          Activity

            People

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

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2014-12-01