Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2042

Favico url malformed when the page has a context in the request

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matias.blasi Matías Blasi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: