You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Magno Nascimento de Azevedo Cruz (JIRA)" <ji...@apache.org> on 2017/08/16 11:05:00 UTC
[jira] [Updated] (CONFIGURATION-670) Inconsistency with
configurationAt method.
[ https://issues.apache.org/jira/browse/CONFIGURATION-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Magno Nascimento de Azevedo Cruz updated CONFIGURATION-670:
-----------------------------------------------------------
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:
{code:java}
config.configurationAt("property.indexedProperty(0)", false);
{code}
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.
{code:java}
config.configurationAt("property.indexedProperty(0)", true);
{code}
I'm trying to implement a support to a new format called [SURF|https://urf.io/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].
was:
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:
{code:java}
config.configurationAt("property.indexedProperty(0)", false);
{code}
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.
{code:java}
config.configurationAt("property.indexedProperty(0)", true);
{code}
I'm trying to implement a support to a new format called [SURF|https://urf.io/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].
> Inconsistency with configurationAt method.
> ------------------------------------------
>
> Key: CONFIGURATION-670
> URL: https://issues.apache.org/jira/browse/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:
> {code:java}
> config.configurationAt("property.indexedProperty(0)", false);
> {code}
> 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.
> {code:java}
> config.configurationAt("property.indexedProperty(0)", true);
> {code}
> I'm trying to implement a support to a new format called [SURF|https://urf.io/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].
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)