[ 
https://issues.apache.org/jira/browse/TAPESTRY-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562755#action_12562755
 ] 

Howard M. Lewis Ship commented on TAPESTRY-2046:
------------------------------------------------

Having trouble reproducing this one.

Added a test:

 { "/attendance", "/view/sites", "/attendance/assets/tapestry/tapestry.js", 
"../assets/tapestry/tapestry.js" }

So, for a request http://localhost:8080/attendance/view/sites

the base URL is http://localhost:8080/attendance/view/

And http://localhost:8080/attendance/view/../assets/tapestry/tapestry.js

is the same as

http://localhost:8080/attendance/assets/tapestry/tapestry.js

which is the correct path.



> Optimized paths broken for pages with activation contexts
> ---------------------------------------------------------
>
>                 Key: TAPESTRY-2046
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2046
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.8
>         Environment: os x, java 1.5
>            Reporter: Robert Zeigler
>            Assignee: Howard M. Lewis Ship
>
> When a page has an activation context, the relative/optimized urls generated 
> are broken.
> For example, an application with the context of "attendance", page "view", 
> and activation context of "Sites"  
> (http://localhost:8080/attendance/view/Sites) generates requests for urls 
> such as:
> /attendance/view/assets/tapestry/tapestry.js 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to