]
Gavin King commented on JBSEAM-1408:
------------------------------------
Then submit a test case demonstrating *that*.
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: