[jboss-jira] [JBoss JIRA] (WFLY-1717) ContextName creation does not honor '.' in archive name

Karel Piwko (JIRA) jira-events at lists.jboss.org
Thu Jul 18 06:30:26 EDT 2013


Karel Piwko created WFLY-1717:
---------------------------------

             Summary: ContextName creation does not honor '.' in archive name
                 Key: WFLY-1717
                 URL: https://issues.jboss.org/browse/WFLY-1717
             Project: WildFly
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 8.0.0.Alpha3
            Reporter: Karel Piwko
            Assignee: Ondrej Zizka


If you deploy an archive that contains '.' (dots), Arquillian will return contextPath trimmed by removing last .dot

This goes wrong in case that archive name contains dot. .war/.ear/.jar extension might already be removed in contextName returned by WebSubsystem.

For instance, this leads to:

http://localhost:8080/pushee-0.1 instead of http://localhost:8080/pushee-0.1.0 if you deploy pushee-0.1.0.war via Maven.resolver()

Relevant code:

https://github.com/wildfly/wildfly/blob/master/arquillian/common/src/main/java/org/jboss/as/arquillian/container/ManagementClient.java#L299


--
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 jboss-jira mailing list