[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4373) exception handling on login and getters broken.

deanhiller (JIRA) jira-events at lists.jboss.org
Thu Aug 20 14:37:23 EDT 2009

exception handling on login and getters broken.

                 Key: JBSEAM-4373
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4373
             Project: Seam
          Issue Type: Bug
          Components: Exception Handling
    Affects Versions: 2.1.1.GA
         Environment: tomcat 6.0.16 and jboss 5.0.1 and seam version above
            Reporter: deanhiller

We added special code to simulate a bug in 4 different cases
1. login
2. getter method
3. setter method
4. action method

#3 and #4 failed as expected and redirected to the error page.  #1 and #2 however do NOT work.

#1. redisplays the login page and does NOT execute the Seam Exceptions.handle logic to determine next page to redirect to(ie. since it does not execute this, it does not go to my error.xhtml page and just redisplays the login page with a cryptic message the user will not understand....transaction failed)...I need something to make them call support and tell them they hit a bug but in this case, it doesn't really look like a bug

#2 is even worse, it takes the exception message and displays it in the s:message after the component in the form so developer exception messages or worse....some random libraries message shows up to the user confusing them.  It shows like it some normal "Number must be less than 10" error message".  It also does not execute the Exceptions.handle logic which is why it is not correctly redirecting to the error.xhtml page.

This is very very bad in that if any seam apps out there have bugs(and they will of course), it does not give a nice clean "We screwed up message" to the user.

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 seam-issues mailing list