[ 
https://issues.apache.org/jira/browse/WICKET-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136005#comment-13136005
 ] 

Anatoly Kupriyanov commented on WICKET-4168:
--------------------------------------------

I think it should use error URI, because actual page could be on different 
level, not in root as /404. A test case for the fix should include urls like 
""http://localhost:8080/bug/aaaaaa/bbbb/cccc";. Also to check if it works after 
moving the "/404" mapping to somewhere else, e.g. "/error/http/404".
                
> Error page resource relative urls are wrong
> -------------------------------------------
>
>                 Key: WICKET-4168
>                 URL: https://issues.apache.org/jira/browse/WICKET-4168
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.2
>            Reporter: Anatoly Kupriyanov
>            Assignee: Pedro Santos
>         Attachments: myproject.zip
>
>
> The wicket page exposed as 404 error page has wrong links to resources. The 
> sample project is attached.
> Run the project with "mvn jetty:run" and go to url 
> "http://localhost:8080/bug/404"; - it's mapped wicket page, works perfect. But 
> if you type any wrong url such as "http://localhost:8080/bug/aaaaaa"; the page 
> doesn't have styles and images.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to