You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Adrian Sandor (JIRA)" <ji...@apache.org> on 2008/11/04 12:42:44 UTC

[jira] Created: (WICKET-1912) StatelessForm problems with query string

StatelessForm problems with query string
----------------------------------------

                 Key: WICKET-1912
                 URL: https://issues.apache.org/jira/browse/WICKET-1912
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.4-M3
            Reporter: Adrian Sandor


I made a small application to reproduce the problem, please see the attachment.
Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j

First problem:

Steps to reproduce:
1. Run the test.Start class
2. Open http://localhost:8080 in a browser
3. Type something in the text field, then click submit several times

Result:
The query string is growing every time


Second problem:

Steps to reproduce:
1,2: Same as above
3. Don't type anything in the text field, then click submit several times

Result:
Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)


Third problem:

Steps to reproduce:
1,2: Same as above
3. Don't type anything in the text field, then click submit once
4. Type something in the text field, then click submit several times

Result:
A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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


[jira] Resolved: (WICKET-1912) StatelessForm problems with query string

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

Igor Vaynberg resolved WICKET-1912.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.5-M1)

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Matej Knopp
>             Fix For: 1.3.7, 1.4-RC5
>
>         Attachments: Form.patch, wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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


[jira] Updated: (WICKET-1912) StatelessForm problems with query string

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

Adrian Sandor updated WICKET-1912:
----------------------------------

    Attachment: wickettest-1912.zip

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>         Attachments: wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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


[jira] Commented: (WICKET-1912) StatelessForm problems with query string

Posted by "martin kovacik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704629#action_12704629 ] 

martin kovacik commented on WICKET-1912:
----------------------------------------

I have the same problem. When I submit statelessform query string is growing exponentially. This issue is probably somehow related to the fact that all the form components are duplicated on each submit (they become hidden inputs after submit).

It would be great if this issue is fixed, as several other users were complaining about it too:

http://www.nabble.com/StatelessForm-in-Bookmarkable-Page-problem-td19430608.html#a19430608
and
http://www.nabble.com/StatelessForm---problem-with-parameters-after-validation-fails-td22438953.html#a22438953

Martin

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Johan Compagner
>         Attachments: wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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


[jira] Updated: (WICKET-1912) StatelessForm problems with query string

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

martin kovacik updated WICKET-1912:
-----------------------------------

    Attachment: Form.patch

This patch should solve the problem. It is diff against 1.4-rc2 version of Form class.

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Johan Compagner
>         Attachments: Form.patch, wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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


[jira] Assigned: (WICKET-1912) StatelessForm problems with query string

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

Igor Vaynberg reassigned WICKET-1912:
-------------------------------------

    Assignee: Johan Compagner

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Johan Compagner
>         Attachments: wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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


[jira] Updated: (WICKET-1912) StatelessForm problems with query string

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

Jeremy Thomerson updated WICKET-1912:
-------------------------------------

    Fix Version/s: 1.5-M1
                   1.4-RC5
                   1.3.7

assigning a fix version so that this will come up on the radar

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Johan Compagner
>             Fix For: 1.3.7, 1.4-RC5, 1.5-M1
>
>         Attachments: Form.patch, wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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


[jira] Assigned: (WICKET-1912) StatelessForm problems with query string

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

Igor Vaynberg reassigned WICKET-1912:
-------------------------------------

    Assignee: Matej Knopp  (was: Johan Compagner)

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Matej Knopp
>             Fix For: 1.3.7, 1.4-RC5, 1.5-M1
>
>         Attachments: Form.patch, wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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


[jira] Commented: (WICKET-1912) StatelessForm problems with query string

Posted by "martin kovacik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704932#action_12704932 ] 

martin kovacik commented on WICKET-1912:
----------------------------------------

Hopefully it won't break anything :)

Martin

> StatelessForm problems with query string
> ----------------------------------------
>
>                 Key: WICKET-1912
>                 URL: https://issues.apache.org/jira/browse/WICKET-1912
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Johan Compagner
>         Attachments: Form.patch, wickettest-1912.zip
>
>
> I made a small application to reproduce the problem, please see the attachment.
> Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
> First problem:
> Steps to reproduce:
> 1. Run the test.Start class
> 2. Open http://localhost:8080 in a browser
> 3. Type something in the text field, then click submit several times
> Result:
> The query string is growing every time
> Second problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit several times
> Result:
> Besides the query string growing every time, semicolons appear in the input field and grow exponentially (2*n+1 each time)
> Third problem:
> Steps to reproduce:
> 1,2: Same as above
> 3. Don't type anything in the text field, then click submit once
> 4. Type something in the text field, then click submit several times
> Result:
> A semicolon is prepended to the text, then the text is doubled every time, with a semicolon added in the middle

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