[
https://jira.jboss.org/jira/browse/JBPORTAL-2391?page=com.atlassian.jira....
]
Chris Laprun resolved JBPORTAL-2391.
------------------------------------
Resolution: Done
Should be fixed now, please check so that I can apply fix to EPP.
Role display name error when the name is not unique
---------------------------------------------------
Key: JBPORTAL-2391
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2391
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Identity
Affects Versions: 2.7.1 Final
Reporter: Takayoshi Kimura
Assignee: Chris Laprun
Fix For: 2.7.3 Final
Attachments: log.zip
To reproduce this error, go to Admin -> Member -> Role management, then create new
role with existing Display name. For example, "Users". You'll get an 500
error screen.
> org.hibernate.AssertionFailure: null id in
org.jboss.portal.identity.db.HibernateRoleImpl entry (don't flush the Session after an
exception occurs)
It also happens in Edit role and fails with BatchUpdateException:
> java.sql.BatchUpdateException: failed batch
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira