You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2006/12/02 19:10:21 UTC

[jira] Created: (CONFIGURATION-242) The configuration returned by HierarchicalConfiguration.subset() does not globally interpolate

The configuration returned by HierarchicalConfiguration.subset() does not globally interpolate
----------------------------------------------------------------------------------------------

                 Key: CONFIGURATION-242
                 URL: http://issues.apache.org/jira/browse/CONFIGURATION-242
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.3 Final
            Reporter: Oliver Heger
         Assigned To: Oliver Heger


Interpolation is only performed in the subset configuration itself. If the referenced property is not in the subset (but somewhere else in the parent configuration), it cannot be resolved. Interpolation should take all properties of the parent configuration into account.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Resolved: (CONFIGURATION-242) The configuration returned by HierarchicalConfiguration.subset() does not globally interpolate

Posted by "Oliver Heger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/CONFIGURATION-242?page=all ]

Oliver Heger resolved CONFIGURATION-242.
----------------------------------------

    Fix Version/s: Nightly Builds
       Resolution: Fixed

A fix was committed. The returned subset configuration now delegates to its parent for performing interpolation.

> The configuration returned by HierarchicalConfiguration.subset() does not globally interpolate
> ----------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-242
>                 URL: http://issues.apache.org/jira/browse/CONFIGURATION-242
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.3 Final
>            Reporter: Oliver Heger
>         Assigned To: Oliver Heger
>             Fix For: Nightly Builds
>
>
> Interpolation is only performed in the subset configuration itself. If the referenced property is not in the subset (but somewhere else in the parent configuration), it cannot be resolved. Interpolation should take all properties of the parent configuration into account.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (CONFIGURATION-242) The configuration returned by HierarchicalConfiguration.subset() does not globally interpolate

Posted by "Brett Porter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONFIGURATION-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONFIGURATION-242:
---------------------------------------

    Attachment: commons-configuration-1.0-SNAPSHOT-src.zip

this has changed some other behaviour unexpectedly. Attached a test case.

I'm not opening a new issue for this because I believe that the new behaviour is now correct - at least, more consistent than it was before.

(see http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/200702.mbox/%3CFE009B1B-29B4-405F-9B99-A42378D6F7F6@apache.org%3E)

> The configuration returned by HierarchicalConfiguration.subset() does not globally interpolate
> ----------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-242
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-242
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Oliver Heger
>         Assigned To: Oliver Heger
>             Fix For: 1.4
>
>         Attachments: commons-configuration-1.0-SNAPSHOT-src.zip
>
>
> Interpolation is only performed in the subset configuration itself. If the referenced property is not in the subset (but somewhere else in the parent configuration), it cannot be resolved. Interpolation should take all properties of the parent configuration into account.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org