[
https://issues.apache.org/jira/browse/OAK-9704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496842#comment-17496842
]
Miroslav Smiljanic commented on OAK-9704:
-----------------------------------------
[~jelmini] thank you for creating the issue and contributing the code change.
> oak-blob-cloud-azure: in AzureBlobStoreBackend, interpret empty string like
> null for boolean properties
> -------------------------------------------------------------------------------------------------------
>
> Key: OAK-9704
> URL: https://issues.apache.org/jira/browse/OAK-9704
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Components: blob-cloud-azure
> Affects Versions: 1.42.0
> Reporter: Carlo Jelmini
> Assignee: Miroslav Smiljanic
> Priority: Major
> Fix For: 1.44.0
>
>
> In AzureBlobStoreBackend, some boolean properties like
> {{azureCreateContainer}} default to true if not set. However, when configured
> from an OSGi configuration using interpolation, an unset property can default
> to empty string. However, the empty string is converted to false by
> {{PropertiesUtil#toBoolean(). }}
> Empty strings should be interpreted as nulls for boolean properties in
> AzureBlobStoreBackend.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)