AVMLockingAwareService lazily creates web project entries.

AVMLockingService should handle the content manager role correctly.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-06-18 18:29:25 +00:00
parent a1d890be94
commit 5dc16190ef
5 changed files with 54 additions and 3 deletions

View File

@@ -825,6 +825,7 @@ public class AVMLockingAwareService implements AVMService
{
throw new AVMLockingException(userName + " does not have access to " + path);
}
fLockingService.addWebProject(webProject);
if (fLockingService.getLock(webProject, storePath[1]) == null)
{
List<String> owners = new ArrayList<String>();