SubsetConfiguration does not interpolate keys of the parent
-----------------------------------------------------------

                 Key: CONFIGURATION-376
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-376
             Project: Commons Configuration
          Issue Type: Improvement
          Components: Interpolation
    Affects Versions: 1.6
            Reporter: Joerg Schaible
            Assignee: Joerg Schaible


A SubsetConfiguration does not interpolate the keys of a parent configuration. 
This is in contrast to the SubnodeConfiguration. This fails:

{code:java}
BaseConfiguration config = new BaseConfiguration();
config.setProperty("test", "junit");
config.setProperty("prefix.key", "${test}");
AbstractConfiguration subset = (AbstractConfiguration) config.subset("prefix");
assertEquals("Interpolation does not resolve parent keys", "junit", 
subset.getString("key", ""));
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to