mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix ALF-2499 (Deleting a web project also deletes similarly named web projects - Potential Data Loss)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -948,7 +948,7 @@ public final class SandboxFactory extends WCMUtil
|
||||
String storeName = store.getName();
|
||||
|
||||
// list main stores - not preview stores or workflow stores or locally deployed "live" ASR servers (LIVE or TEST)
|
||||
if ((storeName.startsWith(wpStoreId)) &&
|
||||
if ((WCMUtil.getWebProjectStoreId(storeName).equals(wpStoreId)) &&
|
||||
(! WCMUtil.isPreviewStore(storeName)) &&
|
||||
((includeLocalhostDeployed || (! WCMUtil.isLocalhostDeployedStore(wpStoreId, storeName)))) &&
|
||||
((includeWorkflowSandboxes || (! WCMUtil.isWorkflowStore(storeName))))
|
||||
|
Reference in New Issue
Block a user