[arquillian-issues] [JBoss JIRA] (ARQ-1396) CommandEventBusService use wrong metadata to match Request URI

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Tue May 28 01:08:06 EDT 2013


Aslak Knutsen created ARQ-1396:
----------------------------------

             Summary: CommandEventBusService use wrong metadata to match Request URI
                 Key: ARQ-1396
                 URL: https://issues.jboss.org/browse/ARQ-1396
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Extension - Warp
    Affects Versions: warp_1.0.0.Alpha2
            Reporter: Aslak Knutsen


canDelegate use request.getServletPath to check if the current request match a given path. 

The problem is, pr spec, getServletPath is a empty String when Servlet is mapped to /*, and in this case it's just a Filter. Both getServletPath and getPathInfo are bound to a Servlet. 

getServletPath works in JBoss AS 7.1.1, but not in WildFly 8.
getServletPath works in WildFly 8, but not in JBoss AS 7.1.1.

The correct check seems to be:
getRequestURI().endsWith(COMMAND_EVENT_BUS_MAPPING)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list