You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org> on 2006/05/16 16:55:05 UTC

[jira] Created: (TAPESTRY-950) Incorect dojo baseRelativePath

Incorect dojo baseRelativePath
------------------------------

         Key: TAPESTRY-950
         URL: http://issues.apache.org/jira/browse/TAPESTRY-950
     Project: Tapestry
        Type: Bug

  Components: Framework  
    Versions: 4.1    
 Environment: Jetty4, Jetty5
    Reporter: Andreas Andreou
    Priority: Blocker


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-950) Incorect dojo baseRelativePath

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-950?page=all ]

Andreas Andreou updated TAPESTRY-950:
-------------------------------------

    Fix Version: 4.1

> Incorect dojo baseRelativePath
> ------------------------------
>
>          Key: TAPESTRY-950
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-950
>      Project: Tapestry
>         Type: Bug

>   Components: Framework
>     Versions: 4.1
>  Environment: Jetty4, Jetty5
>     Reporter: Andreas Andreou
>     Priority: Blocker
>      Fix For: 4.1

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-950) Incorect dojo baseRelativePath

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-950?page=all ]

Jesse Kuhnert updated TAPESTRY-950:
-----------------------------------

    Assign To: Jesse Kuhnert

I should not that I've modified the Comparator that stores service parameters in such a way that I thought the path parameter was always guaranteed to show up last in an asset URL . Will need to re-examine this to see why/how this url-rewriting session state value is making its way to the end instead.

> Incorect dojo baseRelativePath
> ------------------------------
>
>          Key: TAPESTRY-950
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-950
>      Project: Tapestry
>         Type: Bug

>   Components: Framework
>     Versions: 4.1
>  Environment: Jetty4, Jetty5
>     Reporter: Andreas Andreou
>     Assignee: Jesse Kuhnert
>     Priority: Blocker
>      Fix For: 4.1

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Resolved: (TAPESTRY-950) Incorect dojo baseRelativePath

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-950?page=all ]

Jesse Kuhnert resolved TAPESTRY-950.
------------------------------------

    Resolution: Fixed

Was resolved via the other ticket.

> Incorect dojo baseRelativePath
> ------------------------------
>
>                 Key: TAPESTRY-950
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-950
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1
>         Environment: Jetty4, Jetty5
>            Reporter: Andreas Andreou
>         Assigned To: Jesse Kuhnert
>            Priority: Blocker
>             Fix For: 4.1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org