You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Florian Kaltner (JIRA)" <ji...@apache.org> on 2010/03/11 10:40:27 UTC

[jira] Created: (WICKET-2775) Form Validation not triggered when doing a HTTP POST directly to a form

Form Validation not triggered when doing a HTTP POST directly to a form
-----------------------------------------------------------------------

                 Key: WICKET-2775
                 URL: https://issues.apache.org/jira/browse/WICKET-2775
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.6
         Environment: Windows XP
Glassfish V2
            Reporter: Florian Kaltner


Follow the steps below to reproduce this issue:

1.) Create a StatelessForm with a RequiredTextField in a Panel
2.) Do a HTTP POST to that form (e.g. by using the Firefox plug-in Poster)
    2.1) In the content of the HTTP POST omit the value assignment for the required text field (i.e. do not write myTextFieldId=myTextFieldValue)

The Form is submitted though the RequiredTextField didn't contain a value.


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


[jira] Resolved: (WICKET-2775) Form Validation not triggered when doing a HTTP POST directly to a form

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2775.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

> Form Validation not triggered when doing a HTTP POST directly to a form
> -----------------------------------------------------------------------
>
>                 Key: WICKET-2775
>                 URL: https://issues.apache.org/jira/browse/WICKET-2775
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.6
>         Environment: Windows XP
> Glassfish V2
>            Reporter: Florian Kaltner
>            Assignee: Igor Vaynberg
>
> Follow the steps below to reproduce this issue:
> 1.) Create a StatelessForm with a RequiredTextField in a Panel
> 2.) Do a HTTP POST to that form (e.g. by using the Firefox plug-in Poster)
>     2.1) In the content of the HTTP POST omit the value assignment for the required text field (i.e. do not write myTextFieldId=myTextFieldValue)
> The Form is submitted though the RequiredTextField didn't contain a value.

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


[jira] Commented: (WICKET-2775) Form Validation not triggered when doing a HTTP POST directly to a form

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844836#action_12844836 ] 

Juergen Donnerstag commented on WICKET-2775:
--------------------------------------------

Hi Florian,

please be aware that development for 1.3.x has stopped and that we are only fixing security bugs. Please consider migrating to 1.4.x.  May be you could do us a favor and test your case with 1.4 and provide the testcase / quickstart?

-Juergen

> Form Validation not triggered when doing a HTTP POST directly to a form
> -----------------------------------------------------------------------
>
>                 Key: WICKET-2775
>                 URL: https://issues.apache.org/jira/browse/WICKET-2775
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.6
>         Environment: Windows XP
> Glassfish V2
>            Reporter: Florian Kaltner
>
> Follow the steps below to reproduce this issue:
> 1.) Create a StatelessForm with a RequiredTextField in a Panel
> 2.) Do a HTTP POST to that form (e.g. by using the Firefox plug-in Poster)
>     2.1) In the content of the HTTP POST omit the value assignment for the required text field (i.e. do not write myTextFieldId=myTextFieldValue)
> The Form is submitted though the RequiredTextField didn't contain a value.

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


[jira] Commented: (WICKET-2775) Form Validation not triggered when doing a HTTP POST directly to a form

Posted by "Florian Kaltner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846350#action_12846350 ] 

Florian Kaltner commented on WICKET-2775:
-----------------------------------------

Hi Juergen,

Sure, I can do that. Yet one question before I start:
Is a RequiredTextField validated on client side only? This would explain the issue I faced.

Regards,
Florian

> Form Validation not triggered when doing a HTTP POST directly to a form
> -----------------------------------------------------------------------
>
>                 Key: WICKET-2775
>                 URL: https://issues.apache.org/jira/browse/WICKET-2775
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.6
>         Environment: Windows XP
> Glassfish V2
>            Reporter: Florian Kaltner
>
> Follow the steps below to reproduce this issue:
> 1.) Create a StatelessForm with a RequiredTextField in a Panel
> 2.) Do a HTTP POST to that form (e.g. by using the Firefox plug-in Poster)
>     2.1) In the content of the HTTP POST omit the value assignment for the required text field (i.e. do not write myTextFieldId=myTextFieldValue)
> The Form is submitted though the RequiredTextField didn't contain a value.

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


[jira] Commented: (WICKET-2775) Form Validation not triggered when doing a HTTP POST directly to a form

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846706#action_12846706 ] 

Igor Vaynberg commented on WICKET-2775:
---------------------------------------

no, everything in wicket is validated on the server-side

> Form Validation not triggered when doing a HTTP POST directly to a form
> -----------------------------------------------------------------------
>
>                 Key: WICKET-2775
>                 URL: https://issues.apache.org/jira/browse/WICKET-2775
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.6
>         Environment: Windows XP
> Glassfish V2
>            Reporter: Florian Kaltner
>
> Follow the steps below to reproduce this issue:
> 1.) Create a StatelessForm with a RequiredTextField in a Panel
> 2.) Do a HTTP POST to that form (e.g. by using the Firefox plug-in Poster)
>     2.1) In the content of the HTTP POST omit the value assignment for the required text field (i.e. do not write myTextFieldId=myTextFieldValue)
> The Form is submitted though the RequiredTextField didn't contain a value.

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