Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 5.0.9
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      eclipse, jetty, vista business

      Description

      when using t3 links with service parameters the UTF-8 parser complains and doesn't let you use the absolute links

      example

      www.mydomain.com/app?service=direct/1/UserListInventory/$BorderUser.$UserNav.userSiteInventoryEditLink&sp=Sedit

      gives this error

      org.apache.tapestry.ioc.internal.util.TapestryException
      Failure parsing template classpath:com/americanadtrader/tenk/pages/Sitemap.tml: The entity "sp" was referenced, but not declared.

      • com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
      • org.apache.tapestry.internal.services.TemplateParserImpl.parseTemplate(TemplateParserImpl.java:212)
      • org.apache.tapestry.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:140)
      • org.apache.tapestry.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:122)
      • org.apache.tapestry.internal.services.PageLoaderProcessor.loadTemplateForComponent(PageLoaderProcessor.java:431)
      • org.apache.tapestry.internal.services.PageLoaderProcessor.workComponentQueue(PageLoaderProcessor.java:808)
      • org.apache.tapestry.internal.services.PageLoaderProcessor.loadPage(PageLoaderProcessor.java:393)
      • org.apache.tapestry.internal.services.PageLoaderImpl.loadPage(PageLoaderImpl.java:60)
      • org.apache.tapestry.internal.services.PagePoolCache.checkout(PagePoolCache.java:188)
      • org.apache.tapestry.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:107)
      • org.apache.tapestry.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:43)
      • org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:47)
      • org.apache.tapestry.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:66)
      • org.apache.tapestry.services.TapestryModule$13.service(TapestryModule.java:924)
      • com.americanadtrader.tenk.services.AppModule$1.service(AppModule.java:80)
      • org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
      • org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:516)
      • org.apache.tapestry.services.TapestryModule$2.service(TapestryModule.java:491)
      • org.apache.tapestry.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:53)
      • org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
      • org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
      • org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:84)
      • org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
      • org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
      • org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:904)
      • org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:164)
      • org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      • org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      • org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      • org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      • org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
      • org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
      • org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      • org.mortbay.jetty.Server.handle(Server.java:324)
      • org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      • org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
      • org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      • org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      • org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      • org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      • org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

      the html/UTF parser should ignore text within href, onclick, onblur, onmouseover,etc.... attributes.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: