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

PropertiesReader.doParseProperty() version 1.8+ not backward compatible

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.9, 1.10
    • Fix Version/s: 2.0
    • Component/s: Format
    • Labels:
      None

      Description

      We have a legacy application using a library with properties configuration files where some properties are only keys; Example:
      property.key
      instead of
      property.key=value or property.key=

      Until version 1.7 those properties where present with no value in our CompositeConfiguration instance.
      Starting with version 1.8 (introducing a private not overridable regex pattern) those properties are now left out of our application configuration.
      Since we don't own the lib we can't move to latest version of commons-configuration and are stuck with version 1.7

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              paskos pascal gehl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: