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 2017/01/17 09:42:26 UTC

[jira] [Closed] (SLING-4234) Tenant create implementation does not match with the API

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

Timothee Maret closed SLING-4234.
---------------------------------

> Tenant create implementation does not match with the API 
> ---------------------------------------------------------
>
>                 Key: SLING-4234
>                 URL: https://issues.apache.org/jira/browse/SLING-4234
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Tenant 1.0.2
>            Reporter: Timothee Maret
>            Assignee: Carsten Ziegeler
>             Fix For: Tenant 1.1.0
>
>
> The API org.apache.sling.tenant.TenantManager#create stipulates
> {code}
> @throws IllegalArgumentException if a tenant with the same {@code tentantId} already exists.
> {code}
> However, the implementation in org.apache.sling.tenant.internal.TenantProviderImpl#create does not implement this. Instead, it returns null when the tenant already exists.



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