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

Inconsistency with configurationAt method.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2
    • Component/s: Expression engine
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: