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

Deleting Matchgrid that has History Records throws foreign key violation

    XMLWordPrintable

Details

    Description

      An attempt to delete a suspended matchgrid that has existing history records throws the following exception:

      SQLSTATE[23503]: Foreign key violation: 7 ERROR: update or delete on table "matchgrids" violates foreign key constraint "matchgrid_history_records_matchgrid_id_fkey" on table "matchgrid_history_records"
      DETAIL: Key (id)=(16) is still referenced from table "matchgrid_history_records". 

      Attachments

        Issue Links

          Activity

            People

              benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
              arlen.johnson@at.internet2.edu Arlen Johnson (google.com)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: