Details
-
Bug
-
Resolution: Fixed
-
Minor
-
COmanage Registry 0.4 (Reshaped Cake)
-
None
Description
Attempting to delete a CO person with a CO person role with extended attributes fails, throwing
Error: SQLSTATE[23503]: Foreign key violation: 7 ERROR: update or delete on table "cm_co_person_roles" violates foreign key constraint "cm_co2_person_extended_attributes_co_person_role_id_fkey" on table "cm_co2_person_extended_attributes" DETAIL: Key (id)=(40) is still referenced from table "cm_co2_person_extended_attributes".
SQL Query: DELETE FROM "cm_co_person_roles" WHERE "id" = 40