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

[jira] Resolved: (WICKET-1916) setResponsePage(Application#getHomePage()) mounted as / (default) vs. ajax requests

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

Juergen Donnerstag resolved WICKET-1916.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-RC2
         Assignee: Juergen Donnerstag  (was: Martijn Dashorst)

thanks

> setResponsePage(Application#getHomePage()) mounted as / (default) vs. ajax requests
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-1916
>                 URL: https://issues.apache.org/jira/browse/WICKET-1916
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-M3
>            Reporter: Jan Loose
>            Assignee: Juergen Donnerstag
>             Fix For: 1.4-RC2
>
>         Attachments: 1916.patch, Wicket-Quickstart.zip
>
>
> Hi,
> I'm using a week old version of wicket 1.4-SNAPSHOT and there is one ugly bug ... in ajax request cannot be send redirect to homepage ... setResponsePage(Application#getHomePage()) because there is return onlu one byte as the response a in Ajax Debug Console I see this: 
> ---
> INFO: Using XMLHttpRequest transport
> INFO: 
> INFO: Initiating Ajax POST request on ?wicket:interface=:3:loginSwitchPanel:loginPanel:form:submit::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&random=0.03614674718119204
> INFO: Invoking pre-call handler(s)...
> INFO: Received ajax response (1 characters)
> INFO: 
>  
> ERROR: Error while parsing response: Could not find root <ajax-response> element
> INFO: Invoking post-call handler(s)...
> INFO: Invoking failure handler(s)...
> ---
> If I mount the homepage to for example /home then is all ok.
> I can try to compile last trunk version of wicket 1.4-SNAPSHOT but there is 7 failed tests:
> Failed tests:
>   testAjaxHeaderContribution(org.apache.wicket.ajax.AjaxHeaderContributionTest)
>   testDoubleAjaxHeaderContribution(org.apache.wicket.ajax.AjaxHeaderContributionTest)
>   testBufferedExceptionErrorPage(org.apache.wicket.protocol.http.WebResponseExceptionsTest)
>   testExceptionErrorPage(org.apache.wicket.protocol.http.WebResponseExceptionsTest)
>   testExpirePage(org.apache.wicket.protocol.http.WebResponseExceptionsTest)
>   testInternalErrorPage(org.apache.wicket.protocol.http.WebResponseExceptionsTest)
>   testDomReadyOrder(org.apache.wicket.ajax.DomReadyOrderTest)
> Tests run: 722, Failures: 7, Errors: 0, Skipped: 0
> ---
> Thx for help!
> H.

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