[ 
https://issues.jboss.org/browse/SEAMFACES-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648428#comment-12648428
 ] 

Jason Porter commented on SEAMFACES-226:
----------------------------------------

The problem in this one is that your if statement will always return true:

https://github.com/hantsy/seam3-sandbox/blob/master/src/main/java/com/hantsylabs/seam3sandbox/view/TagEditAction.java#L176

{code}
if ("error".equals("error")) {
    throw new ValidatorException(new FacesMessage("Exception threw in page 
directly"));
}
{code}
                
> Jsf VilidatorException caused a EJBRollbackException
> ----------------------------------------------------
>
>                 Key: SEAMFACES-226
>                 URL: https://issues.jboss.org/browse/SEAMFACES-226
>             Project: Seam Faces
>          Issue Type: Bug
>            Reporter: hantsy bai
>
> Please check out my demo application and browse /tags.xhtml.
> 1. click the Button to create a Tag, 
> 2. input something 
> 3. press Create 6
> I used new ViliadtorException to throw a custom validation error in the 
> create6 method, it SHOULD display the message in the current page, but I got 
> EJBRollbackException in the background JBAS console, and the conversation 
> data was discarded.

--
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

        
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues

Reply via email to