You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Timothee Maret (JIRA)" <ji...@apache.org> on 2014/06/24 17:54:25 UTC

[jira] [Comment Edited] (SLING-3695) TenantProvider throws NPE when listing tenants root tenant resource does not exist

    [ https://issues.apache.org/jira/browse/SLING-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042273#comment-14042273 ] 

Timothee Maret edited comment on SLING-3695 at 6/24/14 3:53 PM:
----------------------------------------------------------------

Opened https://github.com/apache/sling/pull/21
https://github.com/apache/sling/pull/21.patch


was (Author: marett):
Opened https://github.com/apache/sling/pull/21

> TenantProvider throws NPE when listing tenants root tenant resource does not exist
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-3695
>                 URL: https://issues.apache.org/jira/browse/SLING-3695
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Tenant 1.0.2
>            Reporter: Timothee Maret
>            Priority: Minor
>              Labels: tenant
>
> The method
> org.apache.sling.tenant.TenantProvider#getTenants
> throws an NPE when the tenant root resource does not exists.
> The tenant root resource is created if needed when creating a tenant (see org.apache.sling.tenant.internal.TenantProviderImpl#createTenantResource)
> A workaround is to create a tenant and remove it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)