commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magno Nascimento de Azevedo Cruz (JIRA)" <>
Subject [jira] [Created] (CONFIGURATION-670) Inconsistency with configurationAt method.
Date Wed, 16 Aug 2017 11:04:00 GMT
Magno Nascimento de Azevedo Cruz created CONFIGURATION-670:

             Summary: Inconsistency with configurationAt method.
                 Key: CONFIGURATION-670
             Project: Commons Configuration
          Issue Type: Bug
          Components: Expression engine
    Affects Versions: 2.1.1
            Reporter: Magno Nascimento de Azevedo Cruz

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 points 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

More informations may be found at [].

This message was sent by Atlassian JIRA

View raw message