From d918bad163616ca6d4ee23578057a5688fdf955b Mon Sep 17 00:00:00 2001 From: Dave Ward Date: Sun, 4 Nov 2012 12:03:16 +0000 Subject: [PATCH] ALF-13194: Can't log in to Share 4.2.b with only external authentication in the chain because of call to restrictions API as guest user - New regression in RepositoryContainer - wasn't allowing authentication work to run in a write transaction and 'lazily' create any new persons (including guest) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@43375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../java/org/alfresco/repo/web/scripts/RepositoryContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/repo/web/scripts/RepositoryContainer.java b/source/java/org/alfresco/repo/web/scripts/RepositoryContainer.java index bd79fb431f..8ff1b00366 100644 --- a/source/java/org/alfresco/repo/web/scripts/RepositoryContainer.java +++ b/source/java/org/alfresco/repo/web/scripts/RepositoryContainer.java @@ -338,7 +338,7 @@ public class RepositoryContainer extends AbstractRuntimeContainer implements Ten } }; - if (retryingTransactionHelper.doInTransaction(authWork, true)) + if (retryingTransactionHelper.doInTransaction(authWork)) { // Execute Web Script if authentication passed // The Web Script has its own txn management with potential runAs() user