[richfaces-issues] [JBoss JIRA] (RF-12252) kitchensink archetype - creating already registered user throws server side error - it should be caught and user should be noticed

Juraj Huska (JIRA) jira-events at lists.jboss.org
Tue May 15 07:28:17 EDT 2012


     [ https://issues.jboss.org/browse/RF-12252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juraj Huska updated RF-12252:
-----------------------------

    Affects Version/s: 4.2.2.Final
          Description: 
When creating an already registered user there is server side error, because of the not unique email:

{code}
javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Unique index or primary key violation: "CONSTRAINT_INDEX_8 ON PUBLIC.MEMBER(EMAIL)"; SQL statement:
{code}

There is also no error message rendered to the user. There should be some notice that such a user have been already registered.

  was:
When creating an already registered user there is server side error, because of the not unique email:

{code}
javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Unique index or primary key violation: "CONSTRAINT_INDEX_8 ON PUBLIC.MEMBER(EMAIL)"; SQL statement:
{code}

The is also no error message rendered to the user. There should be some notice that such a user have been already registered.


    
> kitchensink archetype - creating already registered user throws server side error - it should be caught and user should be noticed
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-12252
>                 URL: https://issues.jboss.org/browse/RF-12252
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: archetype
>    Affects Versions: 4.2.2.Final
>         Environment: project generated from kitchensink archetype
>            Reporter: Juraj Huska
>            Priority: Minor
>
> When creating an already registered user there is server side error, because of the not unique email:
> {code}
> javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Unique index or primary key violation: "CONSTRAINT_INDEX_8 ON PUBLIC.MEMBER(EMAIL)"; SQL statement:
> {code}
> There is also no error message rendered to the user. There should be some notice that such a user have been already registered.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list