Spam account removal script crashes on collection collaborator

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2023-02-28
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2023-02-28