[ 
https://issues.apache.org/jira/browse/ISIS-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber reassigned ISIS-1736:
--------------------------------

    Assignee: Andi Huber

> ConfigurationServiceDefault is inconsistent
> -------------------------------------------
>
>                 Key: ISIS-1736
>                 URL: https://issues.apache.org/jira/browse/ISIS-1736
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.15.0
>            Reporter: Steve Cameron
>            Assignee: Andi Huber
>            Priority: Critical
>             Fix For: 2.0.0-M1
>
>
> This class is confusing, it has its own properties Map which it uses for some 
> methods and then defers to an injected  ConfigurationServiceInternal 
> reference for others.
> I am using it in a fixture and it will not find a property using 
> getProperty(String) which is using ConfigurationServiceInternal reference but 
> will find it if I use getProperties() and loop through the entries returned 
> //doesn't find key
> String xml = 
> configurationService.getProperty("au.com.vuse.oneid.fixtures.companyinputfile");
> //does find key
> for (ConfigurationProperty str : configurationService.allProperties()) {
>       if (str.getKey().equals("au.com.vuse.oneid.fixtures.companyinputfile"))
>               xml = str.getValue();
>       }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to