Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-278

Delete of CO Person with role with extended attributes fails

    XMLWordPrintable

Details

    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

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: