You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Joerg Schaible (JIRA)" <ji...@apache.org> on 2009/03/22 00:45:51 UTC

[jira] Created: (CONFIGURATION-377) SubnodeConfiguration does not interpolate local keys

SubnodeConfiguration does not interpolate local  keys
-----------------------------------------------------

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


The SubnetConfiguration delegates the interpolation directly to its parent. Therefore it is not possible to lookup local keys (as it is done by the SubsetConfiguration).

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


Re: [jira] Created: (CONFIGURATION-377) SubnodeConfiguration does not interpolate local keys

Posted by Jörg Schaible <jo...@gmx.de>.
Hi Ralph,

Ralph Goers wrote:

> Joerg, did you run the Maven build after you made these changes?
> SubnodeConfiguration wouldn't compile (I fixed that). Also, now one of
> the unit tests is failing - although I can't be completely sure it is
> due to the changes you made.

It was late night and actually I simply merged the changes and forgot to
remove the annotation. Since you did this already for me, thanks.

> 
> -------------------------------------------------------------------------------
> Test set: org.apache.commons.configuration.TestDataConfiguration
> -------------------------------------------------------------------------------
> Tests run: 45, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.634
> sec <<< FAILURE!
> testGetInetAddress
> (org.apache.commons.configuration.TestDataConfiguration)  Time
> elapsed: 0.074 sec  <<< FAILURE!

[snip]

Don't know about this one, all unit tests run for me now on head and branch.

- Jörg



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


Re: [jira] Created: (CONFIGURATION-377) SubnodeConfiguration does not interpolate local keys

Posted by Ralph Goers <ra...@dslextreme.com>.
Joerg, did you run the Maven build after you made these changes?  
SubnodeConfiguration wouldn't compile (I fixed that). Also, now one of  
the unit tests is failing - although I can't be completely sure it is  
due to the changes you made.

-------------------------------------------------------------------------------
Test set: org.apache.commons.configuration.TestDataConfiguration
-------------------------------------------------------------------------------
Tests run: 45, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.634  
sec <<< FAILURE!
testGetInetAddress 
(org.apache.commons.configuration.TestDataConfiguration)  Time  
elapsed: 0.074 sec  <<< FAILURE!
junit.framework.AssertionFailedError: ConversionException should be  
thrown for unknown hosts
         at junit.framework.Assert.fail(Assert.java:47)
         at  
org 
.apache 
.commons 
.configuration 
.TestDataConfiguration.testGetInetAddress(TestDataConfiguration.java: 
1689)


On Mar 21, 2009, at 4:45 PM, Joerg Schaible (JIRA) wrote:

> SubnodeConfiguration does not interpolate local  keys
> -----------------------------------------------------
>
>                 Key: CONFIGURATION-377
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-377
>             Project: Commons Configuration
>          Issue Type: Improvement
>          Components: Interpolation
>    Affects Versions: 1.6
>            Reporter: Joerg Schaible
>            Assignee: Joerg Schaible
>
>
> The SubnetConfiguration delegates the interpolation directly to its  
> parent. Therefore it is not possible to lookup local keys (as it is  
> done by the SubsetConfiguration).
>
> -- 
> 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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org