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

ExtensionXml incorrectly handles duplicate module names

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Beta3
    • 2.2.0.Final, 3.0.0.Alpha5
    • Management
    • None

    Description

      Toby Crawley reports:

      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.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            tcrawley Toby Crawley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: