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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/05/16 13:58:18 UTC

[jira] [Closed] (OAK-4251) Guard against NPE in DefaultSyncConfig.Authorizable.setAutoMembership

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

Davide Giannella closed OAK-4251.
---------------------------------

Bulk close for 1.5.2

> Guard against NPE in DefaultSyncConfig.Authorizable.setAutoMembership
> ---------------------------------------------------------------------
>
>                 Key: OAK-4251
>                 URL: https://issues.apache.org/jira/browse/OAK-4251
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: auth-external
>            Reporter: angela
>            Assignee: angela
>            Priority: Trivial
>             Fix For: 1.5.2
>
>
> while writing tests for {{DefaultSyncConfig}} I run into an NPE when passing {{null}} as one of the group names to {{setAutoMembership}} due to the fact that the method trims any input and omits empty-string values. Additionally checking for {{null}} is trivial and would make sense to me.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)