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

Unable to delete authenticator

    XMLWordPrintable

Details

    Description

      One cannot delete an authenticator even if no enrollment flows establish authenticators and no CoPerson records have set an authenticator.

      With debug set the given error is

      Database Error

      Error: SQLSTATE[23503]: Foreign key violation: 7 ERROR: update or delete on table "cm_authenticators" violates foreign key constraint "cm_co_enrollment_authenticators_authenticator_id_fkey" on table "cm_co_enrollment_authenticators" DETAIL: Key (id)=(12) is still referenced from table "cm_co_enrollment_authenticators".

      SQL Query: DELETE FROM "public"."cm_authenticators" WHERE "id" = '12'

       

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            scott.koranda.3@at.internet2.edu Scott Koranda SCG (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: