[ 
http://issues.apache.org/struts/browse/STR-2972?page=comments#action_38638 ] 
            
Niall Pemberton commented on STR-2972:
--------------------------------------

Fixed in revision 472728, thanks for reporting this.

   http://svn.apache.org/viewvc?view=rev&revision=472728

If you need a workaround you could create your own FormBeanConfig 
implementation, modify it to correctly recognise session scoped 
LazyValidatorForm that can be reused and configure Struts to use your 
FormBeanConfig implementation.

This issue and the related bug STR-2507 could probably do with back-porting to 
the 1.2.x branch.

Niall

> LazyValidatorForm cannot be saved in the session
> ------------------------------------------------
>
>                 Key: STR-2972
>                 URL: http://issues.apache.org/struts/browse/STR-2972
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.5
>         Environment: N/A
>            Reporter: Stuart Goldberg
>
> This issue relates to the Struts Bugzilla entry "ASF Bugzilla Bug 35488".
> That fix makes it so that your forms can be resued if you use a POJO in a 
> <form-bean> element that Strus will wrap in a BeanValidatorForm.
> However it is still broken in the following scenario. Use LazyValidatorForm 
> (or a subclass thereof) in a <form-bean> element. Your form will never be 
> reused (or saved?) because FormBeanConfig will compare LazyValidatorForm 
> against LazyDynaBean and always fail.

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

        

Reply via email to