[
http://www.stripesframework.org/jira/browse/STS-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11390#action_11390
]
Ben Gunter commented on STS-567:
--------------------------------
I believe this is related to STS-565. We just fixed it yesterday. I just tested
against the latest code, and it worked like it should have. Please build from
the trunk and try this again and let us know how it goes.
> odd behaviour of @Validate(on=... after storing action bean in flash scope
> --------------------------------------------------------------------------
>
> Key: STS-567
> URL: http://www.stripesframework.org/jira/browse/STS-567
> Project: Stripes
> Issue Type: Bug
> Affects Versions: Release 1.5
> Reporter: Stanisław Skowron
> Assignee: Ben Gunter
> Priority: Minor
>
> In following code:
> @Validate(on="event2", required=true)
> private Integer val;
> @HandlesEvent("event1")
> public Resolution event1(){
> return ...
> }
> @HandlesEvent("event2")
> public Resolution event2(){
> return new
> RedirectResolution(this.getClass()).addParameter("event1").flash(this);
> }
> Stripes tries to validate presence of property val during execution of event1
> after redirecting from event2. When ".flash(this) " is removed, no validation
> occurs as requested.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development