We are experiencing minor issue with sync_user_dbase_users.pl as the script want to delete a user which is a curator and admin of a project (i.e there is an entry in project_users) while not the main curator (not curator in projects.curator table).
Here are the logs:
ERROR - Could not delete XXXXXXXXX for XXXXXXXX. DBD::Pg::db do failed: ERROR: update or delete on table "users" violates foreign key constraint "pu_curator" on table "project_users"
DETAIL: Key (id)=(XXXXXXXX) is still referenced from table "project_users". at /(...)/sync_user_dbase_users.pl line 717.
Maybe the membership should be dropped when the user is removed ? Or do you think we should keep the user ?
This is clearly not a blocking issue, it is just something you might encounter as well later so raising it here.
Hi Keith,
We are experiencing minor issue with
sync_user_dbase_users.pl
as the script want to delete a user which is a curator and admin of a project (i.e there is an entry inproject_users
) while not the main curator (not curator inprojects.curator
table).Here are the logs:
Maybe the membership should be dropped when the user is removed ? Or do you think we should keep the user ?
This is clearly not a blocking issue, it is just something you might encounter as well later so raising it here.
Best wishes
P.S: discussed with @fedex88