You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Marat Radchenko (JIRA)" <ji...@apache.org> on 2008/08/19 10:15:46 UTC

[jira] Commented: (WICKET-1648) AbstractRequestTargetUrlCodingStrategy(line 174) throws confusing exception. It would be better redirect to 404-page in this case.

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

Marat Radchenko commented on WICKET-1648:
-----------------------------------------

Still present in 1.4-M3

> AbstractRequestTargetUrlCodingStrategy(line 174) throws confusing exception. It would be better redirect to 404-page in this case. 
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-1648
>                 URL: https://issues.apache.org/jira/browse/WICKET-1648
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-M1
>            Reporter: Andrey Tuzhikov
>            Assignee: Gerolf Seitz
>             Fix For: 1.3.5
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Steps to reproduce: 
> When user manually types incorrect URL, this confusing exception will be thrown.
> SEVERE: Internal error for /eshop/profile/p
> java.lang.IllegalStateException: URL fragment has unmatched key/value pair: p
> 	at org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy.decodeParameters(AbstractRequestTargetUrlCodingStrategy.java:174)
> 	at org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:76)
> 	at org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.targetForRequest(WebRequestCodingStrategy.java:476)
> 	at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:175)

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