mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Simple promote action (moves changed content from sandbox to sandbox).
Fixed various pathetic flaws in SimpleAVMSubmitAction. AVMSyncService.flatten() silently ignores harmless do nothing calls. Cleared up small episode of Eclipse Add Import Tourette's. ;) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -351,7 +351,7 @@ public class AVMRepository
|
||||
String dstName)
|
||||
{
|
||||
// This is about as ugly as it gets.
|
||||
if (dstPath.indexOf(srcPath + srcName) == 0)
|
||||
if ((dstPath + "/").indexOf(srcPath + srcName + "/") == 0)
|
||||
{
|
||||
throw new AVMCycleException("Cyclic rename.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user