[ https://issues.apache.org/jira/browse/WICKET-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502144#comment-14502144 ]
ASF subversion and git services commented on WICKET-5883: --------------------------------------------------------- Commit cd3b92346b33b38c451434a1cabb7cf79d7188f0 in wicket's branch refs/heads/master from [~mgrigorov] [ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=cd3b923 ] WICKET-5883 Feedback messages not cleared for invisible/disabled form components on submit. (cherry picked from commit b980efc3ad60928d10b5a30e7aac067b2a8b508e) > Feedback messages not cleared for invisible/disabled form components on > submit. > ------------------------------------------------------------------------------- > > Key: WICKET-5883 > URL: https://issues.apache.org/jira/browse/WICKET-5883 > Project: Wicket > Issue Type: Bug > Affects Versions: 6.19.0 > Reporter: Denis Shokhalevich > Assignee: Martin Grigorov > Priority: Minor > Fix For: 6.20.0, 7.0.0-M6 > > Attachments: quickstart.zip > > > Having: > - IFeedbackMessageFilter.NONE used as the default application's feedback > message cleanup filter (in order to make feedback messages not to disappear > after page refresh, i.e. persistent) > - form with validatable component whose enabled/visible state may be > dynamically changed by user (e.g. checkbox "send me email" and text field > "email") > First, user tries to submit form having invalid value - as the result > validation error occurs. > Then user makes that component invisible and retries form submitting - as the > result no validation errors, but form wasn't submitted. > This happens because that component still has error feedback message got from > first submit. Note that when using default application's feedback message > cleanup filter, form is successfully submitted. > Probably, feedback messages should be cleared for invisible/disabled form > components on submit, as it done for visible/enabled components in > FormComponent.validate() -- This message was sent by Atlassian JIRA (v6.3.4#6332)