Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-950

Incorect dojo baseRelativePath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 4.1
    • 4.1
    • Framework
    • None
    • Jetty4, Jetty5

    Description

      If cookies are disabled or
      if the current page is the first page that requires session,
      then o.a.t.dojo.AjaxShellDelegate outputs the following baseRelativePath:
      http://localhost:9090/workbench/assets/60d36d17b2cad6353d9e7897bc0eaf5a/org/apache/tapestry/html/dojo/;jsessionid=m77nh3f6mcmr

      This is problematic because dojo uses this url to dynamically include additional resources, and the existance of
      jsessionid breaks this.

      The real cause of this is TAPESTRY-802, which modified EngineServiceLink in a way that does not take into
      account the stateful parameter, which in turn causes asset links to be encoded (HttpServletResponse.encodeUrl is
      called on them) and thus jsessionid appended.

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            andyhot Andreas Andreou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: