[jboss-jira] [JBoss JIRA] (WFLY-6550) Invalid use of ModuleIdentifier.create(String) for dynamic names prevents use of slots

Brian Stansberry (JIRA) issues at jboss.org
Fri Apr 22 17:25:00 EDT 2016


Brian Stansberry created WFLY-6550:
--------------------------------------

             Summary: Invalid use of ModuleIdentifier.create(String) for dynamic names prevents use of slots
                 Key: WFLY-6550
                 URL: https://issues.jboss.org/browse/WFLY-6550
             Project: WildFly
          Issue Type: Bug
    Affects Versions: 10.0.0.Final
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


The ModuleIdentifier.create(String) method is a convenience method for creating an id with a slot of "main". Using this method for user-provided module names prevents the user from encoding a slot into their string. Better is to use ModuleIdentifier.fromString(String) which will parse out a slot if present.

WFCORE-1499 is due to this problem; reviewing the PR for it led me to investigate core and full for other occurrences. Found a few.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list