[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2391) Role display name error when the name is not unique

Takayoshi Kimura (JIRA) jira-events at lists.jboss.org
Mon May 11 04:38:46 EDT 2009


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


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

        



More information about the jboss-jira mailing list