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

Add database constraints to disallow loop relationship

    XMLWordPrintable

    Details

    • Size Estimate:
      House

      Description

      Entities in a relationship cannot be the same. This is a general assumption used in the code. This assumption is checked twice: first in relationship editor dialog (coded in 2015-01), then in relationship edit creation (coded in 2014). However, there is not check in the database. This somehow allowed to enter a loop relationship with https://musicbrainz.org/edit/32309519 (in 2015-03), thus causing troubles reported in MBS-9663.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yvanzo yvanzo
                Reporter:
                yvanzo yvanzo
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Schema change, 2019 Q2