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

Inconsistency with configurationAt method.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 2.2
    • Expression engine
    • None

    Description

      After some testing, I found some inconsistency with the use of configurationAt(), to simplify it, this version is working correctly, returning the HierarchicalConfiguration pointing to the right property:

      config.configurationAt("property.indexedProperty(0)", false);
      

      While this version, instead of returning a HierarchicalConfiguration with the root tracking node pointing to indexedProperty(0), it returns the tracking node pointing to the root of the whole tree of properties.

      config.configurationAt("property.indexedProperty(0)", true);
      

      I'm trying to implement a support to a new format called SURF created by GlobalMentor, but I didn't override this method, so I think it's coming from the original implementation.

      More informations may be found at https://globalmentor.atlassian.net/browse/URF-34.

      Attachments

        Activity

          People

            Unassigned Unassigned
            magnonac97 Magno Nascimento de Azevedo Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: