[ https://issues.apache.org/jira/browse/WICKET-3899 ]


    Pedro Santos deleted comment on WICKET-3899:
    --------------------------------------

was (Author: pedrosans):
The attached patch stops the visitor from validate a form if it returns false 
for the visitChildren test.
But it remais weird to me to have to stop the form processing for its own based 
on its configuration for its children.
@devs, If the patch makes sense feel confortable to apply, I'm not sure if it 
is the best option, maybe we need another interface or flag to enable this use 
case with more readability.

> IFormVisitorParticipant don't get tested when validation method is visiting 
> inner forms
> ---------------------------------------------------------------------------------------
>
>                 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
>
>
> 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



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

Reply via email to