Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

99314: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      99190: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
         99008: Merged DEV to V4.2-BUG-FIX (4.2.5)
            96553: MNT-13206: Temporary "_IDX_..." folders created and not removed when editonline and file path long.
              - VtiPathHelper will be used to resolve paths for Vti methods.
            97131: MNT-13206: Temporary "_IDX_..." folders created and not removed when editonline and file path long.
               - Move and Delete methods were corrected to hande requests with "_IDX_SITE_" identificator.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@99318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-03-12 05:19:48 +00:00
parent 642c44789f
commit 8c2e2c77a1
2 changed files with 2 additions and 4 deletions

View File

@@ -18,7 +18,6 @@
*/
package org.alfresco.repo.webdav;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
@@ -98,12 +97,11 @@ public class DeleteMethod extends WebDAVMethod implements ActivityPostProducer
NodeRef rootNodeRef = getRootNodeRef();
String path = getPath();
List<String> pathElements = getDAVHelper().splitAllPaths(path);
FileInfo fileInfo = null;
try
{
// get the node to delete
fileInfo = fileFolderService.resolveNamePath(rootNodeRef, pathElements);
fileInfo = getNodeForPath(rootNodeRef, path);
}
catch (FileNotFoundException e)
{