Andrea Bollini created CONFIGURATION-847:
--------------------------------------------

             Summary: Property with an empty string value are not processed in 
the current main (2.11.0-snapshot)
                 Key: CONFIGURATION-847
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-847
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: Nightly Builds
            Reporter: Andrea Bollini
             Fix For: 2.11.0


I hit a side effect of the 
https://issues.apache.org/jira/browse/CONFIGURATION-846 recently solved.

{{Assuming that we have a property file as configuration source like that}}

{{test.empty.property =}}

 

and that we will try to inject such property in a spring bean


{{@Value("${test.empty.property"})}}
{{private String emptyValue;}}

{{ we will get an exception like:  BeanDefinitionStore Invalid bean definition 
... Could not resolve placeholder}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to