Skip to content

Commit

Permalink
SLING-4753 Commit the Resource Resolver before passing it to Tenant C…
Browse files Browse the repository at this point in the history
…ustomizers

This closes apache#92 thanks to Agraj for the patch

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1681937 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Amit Gupta committed May 27, 2015
1 parent 0982c19 commit 3a17a13
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ public Tenant call(ResourceResolver adminResolver) {
// create the tenant
Resource tenantRes = createTenantResource(adminResolver, tenantId, properties);
TenantImpl tenant = new TenantImpl(tenantRes);
adminResolver.commit();
customizeTenant(tenantRes, tenant);
adminResolver.commit();

Expand Down

0 comments on commit 3a17a13

Please sign in to comment.