sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-tenant] 16/18: SLING-4753 - Commit the Resource Resolver before passing it to Tenant Customizers
Date Tue, 07 Nov 2017 10:17:20 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.tenant-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-tenant.git

commit a704c35e9afb9137421082bd1fe90afbccc545a7
Author: Timothée Maret <tmaret@apache.org>
AuthorDate: Thu Jan 12 13:50:44 2017 +0000

    SLING-4753 - Commit the Resource Resolver before passing it to Tenant Customizers
    
    * Revert commit r1681937
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/tenant@1778434
13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java b/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
index a70c137..cff472e 100644
--- a/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
+++ b/src/main/java/org/apache/sling/tenant/internal/TenantProviderImpl.java
@@ -242,7 +242,6 @@ public class TenantProviderImpl implements TenantProvider, TenantManager
{
                     // create the tenant
                     Resource tenantRes = createTenantResource(adminResolver, tenantId, properties);
                     TenantImpl tenant = new TenantImpl(tenantRes);
-                    adminResolver.commit();
                     customizeTenant(tenantRes, tenant, true);
                     adminResolver.commit();
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message