You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2016/01/04 14:37:39 UTC
[jira] [Assigned] (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 ]
Carsten Ziegeler reassigned SLING-4234:
---------------------------------------
Assignee: Carsten Ziegeler
> 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.0.4
>
>
> 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)