You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2024/06/03 18:40:00 UTC
[jira] [Updated] (CONFIGURATION-847) Property with an empty string value are not processed in the current main (2.11.0-snapshot)
[ https://issues.apache.org/jira/browse/CONFIGURATION-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated CONFIGURATION-847:
------------------------------------------
Assignee: Gary D. Gregory
> 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
> Assignee: Gary D. Gregory
> Priority: Critical
> 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)