Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1717

ContextName creation does not honor '.' in archive name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 8.0.0.Alpha3
    • Test Suite
    • None

    Description

      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

      Attachments

        Activity

          People

            rchakrab Ranabir Chakraborty
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: