[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1408) EntityHome.managed is modified when ValidationException is thrown

Hung Tang (JIRA) jira-events at lists.jboss.org
Wed Jun 6 15:08:18 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1408?page=comments#action_12364410 ] 
            
Hung Tang commented on JBSEAM-1408:
-----------------------------------

rather, load test.xhtml?id=1 

> EntityHome.managed is modified when ValidationException is thrown
> -----------------------------------------------------------------
>
>                 Key: JBSEAM-1408
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1408
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 1.3.0.ALPHA
>            Reporter: Hung Tang
>         Attachments: demo.zip
>
>
> Two problems:
> First, EntityHome.managed property is inadvertently (correct me if I'm wrong) set to false when ValidationException is thrown when using @Validator and applied to an input text.  Not sure why the em.contains(getInstance()) in managed() reports false.
> Second, when combining @Validator with Hibernate validators, Seam throws an exception [org.hibernate.validator.InvalidStateException] when hibernate validators fail instead restoring the view with a nice message. 
> I'll try to attach a simple example to demonstrate these problems.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list