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

Spam account removal script crashes on collection collaborator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2023-02-28
    • None
    • Accounts, Scripts
    • None

      The script admin/RemoveSpamAccounts.pl crashes when trying to remove any collection collaborator with the following message:

      DBD::Pg::st execute failed: ERROR:  update or delete on table "editor" violates foreign key constraint "editor_collection_collaborator_fk_editor" on table "editor_collection_collaborator"

      It should rather skip removing such account as it might not be a spam account.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2023-02-28