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

Remove entities with the wrong entity type from collections

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Collections, Scripts
    • Labels:
      None

      Description

      Because of MBS-11569 there are over a hundred collections that have both releases and release groups in them, despite them being either release or release group collections (MBS-10857).

      We should run a one-off script that drops any entities from a collection that do not match the type of that collection. There might be some cases where the only entity in a collection doesn't match the desired entity type - in that case, we could consider changing the collection type instead of removing the only entity.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Packages

                  Version Package