[jboss-jira] [JBoss JIRA] (WFCORE-1717) ExtensionXml incorrectly handles duplicate module names

Brian Stansberry (JIRA) issues at jboss.org
Sat Feb 11 21:44:00 EST 2017


     [ https://issues.jboss.org/browse/WFCORE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-1717:
-------------------------------------
    Fix Version/s: 3.0.0.Alpha25
                       (was: 3.0.0.CR1)


> ExtensionXml incorrectly handles duplicate module names
> -------------------------------------------------------
>
>                 Key: WFCORE-1717
>                 URL: https://issues.jboss.org/browse/WFCORE-1717
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 2.2.0.Final, 3.0.0.Alpha5
>            Reporter: Toby Crawley
>            Assignee: Brian Stansberry
>             Fix For: 3.0.0.Alpha25
>
>
> Toby Crawley reports:
> - adding a duplicate extension under server > extensions causes an
>    IllegalStateException that occurs when trying to generate the
>    XMLStreamException
>    (https://gist.github.com/tobias/59d155afe0c88e268b83cb75734353eb)
> The problem happens because before the parser calls the invalidAttributeValue method to throw an exception, it has already consumed the element, preventing invalidAttributeValue working properly.
> This should really be a custom exception that more clearly explains the problem, which is that the 'module' attribute value must be unique across the extension elements.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list