Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-397

Schema validation exceptions in a combined configuration often result in an empty configuration being include with no exception or error message.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7
    • 1.7
    • None
    • None
    • Linux, JBoss, JDK 6

    Description

      When using DefaultConfigurationBuilder to construct a combined configuration using MultiFileHierarchicalConfiguration (the override file) followed by XMLConfiguration (the default file), if one of the override files has a schema validation error the exception is not thrown nor is an error logged. Instead, an empty configuration is returned.

      If schema violation exceptions occur they should always throw exceptions, regardless of whether a file is optional or not.

      Attachments

        Activity

          People

            rgoers Ralph Goers
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: