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

Factor out lists of entities in the code

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2014-06-09
    • None
    • None

      There are a number of places in the code where we have a list of entities. That means when things change, we have to update a lot of places, inevitably miss some and then we have bugs.

      Fixing this is a bit complicated, since the list tends to vary depending on what exactly should be included and how "release group" should be written, but presumably something like a hash of data in the constants file with some functions for returning a matching list would work.

      The ones I've found so far:

      things with annotations

      things with MBIDs

      things with ratings

      things with tags

      things with subscriptions

      core entities

            ianmcorvidae Ian McEwen
            nikki nikki
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2014-06-09