[ 
https://issues.apache.org/jira/browse/WICKET-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pedro Santos updated WICKET-3899:
---------------------------------
    Description: 
Currently the Form#validateFormValidator only checks if dependent components 
are visible in the page, which causes it to validate forms depending on 
components that didn't participate in the form processing like:
 * disable form components
 * components under a IFormVisitorParticipant parents that returned false in 
the #processChildren test
 * components inside a form that was not processed because the parent form 
specified

  was:
The inconsistencies is at Form#validate method. It invokes validateNestedForms 
and validateComponents, but only the second one uses a visitor filter testing 
for IFormVisitorParticipant#processChildren value.
More about: http://markmail.org/message/q2qfuyg3gcrurxxp


> IFormVisitorParticipant don't get tested when validating form validators 
> dependent components
> ---------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3899
>                 URL: https://issues.apache.org/jira/browse/WICKET-3899
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.17, 1.5-RC5.1
>            Reporter: Pedro Santos
>            Assignee: Pedro Santos
>            Priority: Major
>         Attachments: WICKET-3899-fix-test.patch, WICKET-3899.patch
>
>
> Currently the Form#validateFormValidator only checks if dependent components 
> are visible in the page, which causes it to validate forms depending on 
> components that didn't participate in the form processing like:
>  * disable form components
>  * components under a IFormVisitorParticipant parents that returned false in 
> the #processChildren test
>  * components inside a form that was not processed because the parent form 
> specified



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to