-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
3.5
-
None
Problem.
This appear to only affects Oracle - When editing the User or Group DN, Confluence will return a System Error instead.
The following is logged:
2011-07-31 11:02:22,704 ERROR [http-8080-4] [atlassian.plugin.servlet.ServletModuleContainerServlet] service Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert collection rows: [com.atlassian.crowd.model.directory.DirectoryImpl.attributes#1146881]; SQL []; ORA-00001: unique constraint (CONFLUENCE.SYS_C0021643) violated ; nested exception is java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (CONFLUENCE.SYS_C0021643) violated -- referer: http://paulaner.sydney.atlassian.com:8080/plugins/servlet/embedded-crowd/configure/ldap/ | url: /plugins/servlet/embedded-crowd/configure/ldap/ | userName: confluence-admin org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert collection rows: [com.atlassian.crowd.model.directory.DirectoryImpl.attributes#1146881]; SQL []; ORA-00001: unique constraint (CONFLUENCE.SYS_C0021643) violated ; nested exception is java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (CONFLUENCE.SYS_C0021643) violated
Workaround
- Login with internal admin account
- Go to Confluence Admin > User Directories, and edit the LDAP directory
- Take screenshots of all the settings
- Disable the LDAP User Directory
- Recreate the directory from scratch with the same settings
- If this is successful, Remove the old LDAP directory
Alternatively, you can modify settings manually in the database. The settings are all stored in the cwd_directory_attribute. This is NOT recommended.
- duplicates
-
CONFSERVER-22469 Editing "User Directories" configuration is not possible for ORACLE DB user due to DataIntegrityViolationException
-
- Closed
-
-
CONFSERVER-22242 Impossible to empty Additional User DN or Additional Group DN once filled in
-
- Closed
-
- is duplicated by
-
CONFSERVER-24645 Getting System Error page when trying to edit User Directory or adding "Default Group Memberships" in Confluence 3.5.9 or higher for Oracle users
-
- Closed
-
[CONFSERVER-22703] User Directory update caused System Error when using Oracle
Workflow | Original: JAC Bug Workflow v3 [ 2902404 ] | New: CONFSERVER Bug Workflow v4 [ 3002477 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2799719 ] | New: JAC Bug Workflow v3 [ 2902404 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2730172 ] | New: JAC Bug Workflow v2 [ 2799719 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395340 ] | New: JAC Bug Workflow [ 2730172 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2291423 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395340 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2229061 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2291423 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185881 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2229061 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1924387 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185881 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1733415 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1924387 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1690318 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1733415 ] |