You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/08/02 00:35:39 UTC

[jira] [Closed] (TAP5-2042) Favico url malformed when the page has a context in the request

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

Howard M. Lewis Ship closed TAP5-2042.
--------------------------------------

    Resolution: Invalid

I suspect you have some <meta> in your template that is wrong, for the client to expect the favicon URL to be what appears in your log. Fix that (use the asset: binding prefix, etc.).

> Favico url malformed when the page has a context in the request
> ---------------------------------------------------------------
>
>                 Key: TAP5-2042
>                 URL: https://issues.apache.org/jira/browse/TAP5-2042
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: Matías Blasi
>            Priority: Minor
>              Labels: activate, context, favicon
>
> When trying to acces to a page of my application "ticket/list" with a context, like:
> http://localhost/ticket/list/1/8
> The page request is correctly processed, I get the page as expected, but, there is a next request for the favico, with an incorrect url:
> Caused by: java.lang.NumberFormatException: For input string: "ico"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Long.parseLong(Long.java:438)
>         at java.lang.Long.<init>(Long.java:690)
>         at org.apache.tapestry5.ioc.services.TapestryIOCModule$9.coerce(TapestryIOCModule.java:241)
>         at org.apache.tapestry5.ioc.services.TapestryIOCModule$9.coerce(TapestryIOCModule.java:238)
>         at org.apache.tapestry5.ioc.services.CoercionTuple$CoercionWrapper.coerce(CoercionTuple.java:54)
>         at org.apache.tapestry5.ioc.internal.services.TypeCoercerImpl$TargetCoercion.coerce(TypeCoercerImpl.java:71)
>         ... 87 more
> [INFO] ComexwebModule.TimingFilter Request time: 327 ms
> 0:0:0:0:0:0:0:1 -  -  [04/ene/2013:11:16:14 +0000] "GET /ticket/list/1/ico/favicon.png HTTP/1.1" 500 4323 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.35 Safari/537.17"
> If I get the page with no activation context, everithing works fine.
> Regards,
> Matías.



--
This message was sent by Atlassian JIRA
(v6.2#6252)