You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Miroslav Smiljanic (Jira)" <ji...@apache.org> on 2022/02/23 15:33:00 UTC

[jira] [Resolved] (OAK-9704) oak-blob-cloud-azure: in AzureBlobStoreBackend, interpret empty string like null for boolean properties

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

Miroslav Smiljanic resolved OAK-9704.
-------------------------------------
    Fix Version/s: 1.44.0
       Resolution: Fixed

> 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)