You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Carl-Eric Menzel (JIRA)" <ji...@apache.org> on 2010/07/06 15:21:50 UTC

[jira] Updated: (WICKET-2934) FormTester creates parameters in mock request even for disabled form components

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

Carl-Eric Menzel updated WICKET-2934:
-------------------------------------

    Attachment: 0001-fixed-FormTester-wrongly-generating-parameters-for-d.patch

A patch against 1.4.9 that fixes this issue without breaking the wicket mvn build/test.

> FormTester creates parameters in mock request even for disabled form components
> -------------------------------------------------------------------------------
>
>                 Key: WICKET-2934
>                 URL: https://issues.apache.org/jira/browse/WICKET-2934
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.9
>            Reporter: Carl-Eric Menzel
>            Priority: Minor
>         Attachments: 0001-fixed-FormTester-wrongly-generating-parameters-for-d.patch
>
>
> When setting up the mock web request for a form submission, FormTester creates request parameters even for form components that are disabled. As per the HTTP spec, a browser would not send parameters for components marked as disabled, so FormTester should not create these parameters either.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.