Allow forceCopy to work on DeletedNodes.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5679 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-05-15 10:17:40 +00:00
parent 5f8ffb9e51
commit 3f2d97a835
3 changed files with 20 additions and 2 deletions

View File

@@ -2469,7 +2469,7 @@ public class AVMRepository
}
fLookupCache.onWrite(pathParts[0]);
// Just force a copy if needed by looking up in write mode.
Lookup lPath = store.lookup(-1, pathParts[1], true, false);
Lookup lPath = store.lookup(-1, pathParts[1], true, true);
if (lPath == null)
{
throw new AVMNotFoundException("Path not found.");