mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.1 to HEAD
14919: Merged V2.2 to V3.1 14785: Fix for ETWOTWO-1164: Newly created access groups for web projects are not deleted when the project is removed git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14950 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -724,7 +724,7 @@ public class WebProjectServiceImpl extends WCMUtil implements WebProjectService
|
||||
// It does not matter what webapp name we give here, so "/ROOT"
|
||||
// is as sensible as anything else. It's all going away.
|
||||
|
||||
String sandbox = WCMUtil.buildStagingStoreName(wpStoreId);
|
||||
final String sandbox = WCMUtil.buildStagingStoreName(wpStoreId);
|
||||
String path = WCMUtil.buildStoreWebappPath(sandbox, "/ROOT");
|
||||
|
||||
WCMUtil.removeAllVServerWebapps(virtServerRegistry, path, true);
|
||||
@@ -746,6 +746,8 @@ public class WebProjectServiceImpl extends WCMUtil implements WebProjectService
|
||||
// delete the web project node itself
|
||||
nodeService.deleteNode(wpNodeRef);
|
||||
|
||||
sandboxFactory.removeGroupsForStore(sandbox);
|
||||
|
||||
return null;
|
||||
}
|
||||
}, AuthenticationUtil.getSystemUserName());
|
||||
|
Reference in New Issue
Block a user