You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Fulop Levente (JIRA)" <ji...@apache.org> on 2010/10/29 13:32:20 UTC
[jira] Created: (WICKET-3141) On multipart form, sendRedirect()
with PageParameters are not working
On multipart form, sendRedirect() with PageParameters are not working
---------------------------------------------------------------------
Key: WICKET-3141
URL: https://issues.apache.org/jira/browse/WICKET-3141
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4.12
Reporter: Fulop Levente
On a multipart form, calling setResponsePage(Class, PageParameters) will not redirect to the requested page.
In the wicket ajax debug the following error appears:
INFO: focus set on save3
INFO: Invoking pre-call handler(s)...
ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element
INFO: Invoking post-call handler(s)...
INFO: Invoking failure handler(s)...
and in Firefox Error Console the following error appears:
Error: not well-formed
Source File: http://localhost:8080/sample/?wicket:interface=:0:form:save::IActivePageBehaviorListener:0:1&wicket:ignoreIfNotActive=true&wicket:ajax=true
Line: 1, Column: 87
Source Code:
<ajax-response><redirect>../?wicket:bookmarkablePage=:problem.sample.SecondPage¶m1=value1¶m2=value2</redirect></ajax-response>
The problem is, that the URL from the response XML are not xml encoded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-3141) On multipart form, sendRedirect()
with PageParameters are not working
Posted by "Fulop Levente (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fulop Levente updated WICKET-3141:
----------------------------------
Attachment: sample.zip
Attached a sample application.
> On multipart form, sendRedirect() with PageParameters are not working
> ---------------------------------------------------------------------
>
> Key: WICKET-3141
> URL: https://issues.apache.org/jira/browse/WICKET-3141
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.12
> Reporter: Fulop Levente
> Attachments: sample.zip
>
>
> On a multipart form, calling setResponsePage(Class, PageParameters) will not redirect to the requested page.
> In the wicket ajax debug the following error appears:
> INFO: focus set on save3
> INFO: Invoking pre-call handler(s)...
> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element
> INFO: Invoking post-call handler(s)...
> INFO: Invoking failure handler(s)...
> and in Firefox Error Console the following error appears:
> Error: not well-formed
> Source File: http://localhost:8080/sample/?wicket:interface=:0:form:save::IActivePageBehaviorListener:0:1&wicket:ignoreIfNotActive=true&wicket:ajax=true
> Line: 1, Column: 87
> Source Code:
> <ajax-response><redirect>../?wicket:bookmarkablePage=:problem.sample.SecondPage¶m1=value1¶m2=value2</redirect></ajax-response>
> The problem is, that the URL from the response XML are not xml encoded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-3141) On multipart form, sendRedirect()
with PageParameters are not working
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3141.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M4
1.4.14
Fixed with r1029411 (1.5-SNAPSHOT) and r1029412 (1.4.x)
> On multipart form, sendRedirect() with PageParameters are not working
> ---------------------------------------------------------------------
>
> Key: WICKET-3141
> URL: https://issues.apache.org/jira/browse/WICKET-3141
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.12
> Reporter: Fulop Levente
> Assignee: Martin Grigorov
> Fix For: 1.4.14, 1.5-M4
>
> Attachments: sample.zip
>
>
> On a multipart form, calling setResponsePage(Class, PageParameters) will not redirect to the requested page.
> In the wicket ajax debug the following error appears:
> INFO: focus set on save3
> INFO: Invoking pre-call handler(s)...
> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element
> INFO: Invoking post-call handler(s)...
> INFO: Invoking failure handler(s)...
> and in Firefox Error Console the following error appears:
> Error: not well-formed
> Source File: http://localhost:8080/sample/?wicket:interface=:0:form:save::IActivePageBehaviorListener:0:1&wicket:ignoreIfNotActive=true&wicket:ajax=true
> Line: 1, Column: 87
> Source Code:
> <ajax-response><redirect>../?wicket:bookmarkablePage=:problem.sample.SecondPage¶m1=value1¶m2=value2</redirect></ajax-response>
> The problem is, that the URL from the response XML are not xml encoded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-3141) On multipart form, sendRedirect()
with PageParameters are not working
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reassigned WICKET-3141:
---------------------------------------
Assignee: Martin Grigorov
> On multipart form, sendRedirect() with PageParameters are not working
> ---------------------------------------------------------------------
>
> Key: WICKET-3141
> URL: https://issues.apache.org/jira/browse/WICKET-3141
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.12
> Reporter: Fulop Levente
> Assignee: Martin Grigorov
> Attachments: sample.zip
>
>
> On a multipart form, calling setResponsePage(Class, PageParameters) will not redirect to the requested page.
> In the wicket ajax debug the following error appears:
> INFO: focus set on save3
> INFO: Invoking pre-call handler(s)...
> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element
> INFO: Invoking post-call handler(s)...
> INFO: Invoking failure handler(s)...
> and in Firefox Error Console the following error appears:
> Error: not well-formed
> Source File: http://localhost:8080/sample/?wicket:interface=:0:form:save::IActivePageBehaviorListener:0:1&wicket:ignoreIfNotActive=true&wicket:ajax=true
> Line: 1, Column: 87
> Source Code:
> <ajax-response><redirect>../?wicket:bookmarkablePage=:problem.sample.SecondPage¶m1=value1¶m2=value2</redirect></ajax-response>
> The problem is, that the URL from the response XML are not xml encoded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-3141) On multipart form, sendRedirect()
with PageParameters are not working
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926743#action_12926743 ]
Hudson commented on WICKET-3141:
--------------------------------
Integrated in Apache Wicket 1.5.x #473 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/473/])
WICKET-3141 On multipart form, sendRedirect() with PageParameters are not working
Wrap the 'redirect to' URL in the Ajax response in CDATA to be able to handle properly unencoded XML
> On multipart form, sendRedirect() with PageParameters are not working
> ---------------------------------------------------------------------
>
> Key: WICKET-3141
> URL: https://issues.apache.org/jira/browse/WICKET-3141
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.12
> Reporter: Fulop Levente
> Assignee: Martin Grigorov
> Fix For: 1.4.14, 1.5-M4
>
> Attachments: sample.zip
>
>
> On a multipart form, calling setResponsePage(Class, PageParameters) will not redirect to the requested page.
> In the wicket ajax debug the following error appears:
> INFO: focus set on save3
> INFO: Invoking pre-call handler(s)...
> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element
> INFO: Invoking post-call handler(s)...
> INFO: Invoking failure handler(s)...
> and in Firefox Error Console the following error appears:
> Error: not well-formed
> Source File: http://localhost:8080/sample/?wicket:interface=:0:form:save::IActivePageBehaviorListener:0:1&wicket:ignoreIfNotActive=true&wicket:ajax=true
> Line: 1, Column: 87
> Source Code:
> <ajax-response><redirect>../?wicket:bookmarkablePage=:problem.sample.SecondPage¶m1=value1¶m2=value2</redirect></ajax-response>
> The problem is, that the URL from the response XML are not xml encoded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-3141) On multipart form, sendRedirect()
with PageParameters are not working
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926798#action_12926798 ]
Hudson commented on WICKET-3141:
--------------------------------
Integrated in Apache Wicket 1.4.x #242 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/242/])
> On multipart form, sendRedirect() with PageParameters are not working
> ---------------------------------------------------------------------
>
> Key: WICKET-3141
> URL: https://issues.apache.org/jira/browse/WICKET-3141
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.12
> Reporter: Fulop Levente
> Assignee: Martin Grigorov
> Fix For: 1.4.14, 1.5-M4
>
> Attachments: sample.zip
>
>
> On a multipart form, calling setResponsePage(Class, PageParameters) will not redirect to the requested page.
> In the wicket ajax debug the following error appears:
> INFO: focus set on save3
> INFO: Invoking pre-call handler(s)...
> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root <ajax-response> element
> INFO: Invoking post-call handler(s)...
> INFO: Invoking failure handler(s)...
> and in Firefox Error Console the following error appears:
> Error: not well-formed
> Source File: http://localhost:8080/sample/?wicket:interface=:0:form:save::IActivePageBehaviorListener:0:1&wicket:ignoreIfNotActive=true&wicket:ajax=true
> Line: 1, Column: 87
> Source Code:
> <ajax-response><redirect>../?wicket:bookmarkablePage=:problem.sample.SecondPage¶m1=value1¶m2=value2</redirect></ajax-response>
> The problem is, that the URL from the response XML are not xml encoded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.