Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Tenant 1.0.2
-
None
Description
The API org.apache.sling.tenant.TenantManager#create stipulates
@throws IllegalArgumentException if a tenant with the same {@code tentantId} already exists.
However, the implementation in org.apache.sling.tenant.internal.TenantProviderImpl#create does not implement this. Instead, it returns null when the tenant already exists.