Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-3978

PermissionsTest#clientAuthorization throws SQLIntegrityConstraintViolationException during realm removal on oracle12c database

    Details

      Description

      java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity constraint (database.FKDC34197CF864C4E43) violated - child record found is thrown when removing a realm after PermissionsTest#clientAuthorization.

      The constraint is on POLICY_CONFIG table [1]

      [1] https://github.com/keycloak/keycloak/blob/master/model/jpa/src/main/java/org/keycloak/authorization/jpa/entities/PolicyEntity.java#L80

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pcraveiro Pedro Igor
                Reporter:
                vramik Vlastislav Ramik
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: