[
https://jira.jboss.org/browse/CDITCK-191?page=com.atlassian.jira.plugin.s...
]
David Jencks updated CDITCK-191:
--------------------------------
Attachment: CDITCK-191.diff
patch that removes initial / from all calls to getPath including the one where the test
breaks.
double slash in Converstaion test urls break redirect
-----------------------------------------------------
Key: CDITCK-191
URL:
https://jira.jboss.org/browse/CDITCK-191
Project: CDI TCK
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Tests
Affects Versions: 1.0.2.CR3
Reporter: David Jencks
Attachments: CDITCK-191.diff
The Conversation tests all call AbstractConversationTest.getPath() with strings starting
with / such as /storm.jspx. Since the method tacks a / at the end of the context root you
end up with urls for the form foo//bar.jsf. While tomcat appears to think that this is
the same url as foo/bar.jsf, jetty doesn't. This breaks the redirect in
LongRunningConversationPropagatedByFacesContextTest.testConversationPropagatedOverRedirect.
Removing the / from the arguments to getPath fixes the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira