You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Paul Ferraro (JIRA)" <ta...@jakarta.apache.org> on 2005/08/24 02:55:08 UTC
[jira] Created: (TAPESTRY-586) Do not bind form component values unless all validators succeed.
Do not bind form component values unless all validators succeed.
----------------------------------------------------------------
Key: TAPESTRY-586
URL: http://issues.apache.org/jira/browse/TAPESTRY-586
Project: Tapestry
Type: Bug
Components: Framework
Versions: 4.0
Reporter: Paul Ferraro
Assigned to: Paul Ferraro
As of 4.0-beta-3, form components will update their value if translation succeeds but before validators are run. This means that even if validation fails, the components value is set. This is deemed undesirable since this could cause unexpected behavior inside domain objects if pre-validated values are expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Closed: (TAPESTRY-586) Do not bind form component values unless all validators succeed.
Posted by "Paul Ferraro (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-586?page=all ]
Paul Ferraro closed TAPESTRY-586:
---------------------------------
Fix Version: 4.0
Resolution: Fixed
Reordered rewind logic such that call to ValidatableFieldSupport.validate(...) comes before setting component value.
> Do not bind form component values unless all validators succeed.
> ----------------------------------------------------------------
>
> Key: TAPESTRY-586
> URL: http://issues.apache.org/jira/browse/TAPESTRY-586
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Fix For: 4.0
>
> As of 4.0-beta-3, form components will update their value if translation succeeds but before validators are run. This means that even if validation fails, the components value is set. This is deemed undesirable since this could cause unexpected behavior inside domain objects if pre-validated values are expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org