Tapestry
  1. Tapestry
  2. TAPESTRY-2606

File system warning for certain component event request, on windows only

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.14
    • Fix Version/s: 5.0.15
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      This happens because of the colon in the URL (that identifies the event name). We should change the StaticFilesFilter to assume any URL with a colon is not going to map to a static resource (and is potentially a Tapestry URL).

      [WARN] ResourceCache Alias request of 'file:/F:/Steph/workspace/mailings/src/main/webapp/clients.grid.columns:sort/description' for 'file:/F:/Steph/workspace/mailings/src/main/webapp/clients.grid.columns:sort/description'
      [WARN] Credential EXCEPTION
      java.io.IOException: Syntaxe du nom de fichier, de répertoire ou de volume incorrecte
      at java.io.WinNTFileSystem.canonicalize0(Native Method)
      at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
      at java.io.File.getCanonicalPath(File.java:559)
      at org.mortbay.util.FileResource.getAlias(FileResource.java:176)
      at org.mortbay.http.ResourceCache.getResource(ResourceCache.java:250)
      at org.mortbay.http.HttpContext.getResource(HttpContext.java:2118)
      at org.mortbay.jetty.servlet.WebApplicationContext.getResource(WebApplicationContext.java:785)
      at org.mortbay.jetty.servlet.ServletHandler.getResource(ServletHandler.java:735)
      at org.mortbay.jetty.servlet.ServletHandler$Context.getResource(ServletHandler.java:1082)
      at org.apache.tapestry.internal.services.ContextImpl.getResource(ContextImpl.java:43)
      at $Context_119ded1b2a2.getResource($Context_119ded1b2a2.java)
      at $Context_119ded1b209.getResource($Context_119ded1b209.java)
      at org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:56)

        Activity

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development