mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -18,7 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.alfresco.repo.webdav;
|
package org.alfresco.repo.webdav;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Timer;
|
import java.util.Timer;
|
||||||
import java.util.TimerTask;
|
import java.util.TimerTask;
|
||||||
|
|
||||||
@@ -98,12 +97,11 @@ public class DeleteMethod extends WebDAVMethod implements ActivityPostProducer
|
|||||||
NodeRef rootNodeRef = getRootNodeRef();
|
NodeRef rootNodeRef = getRootNodeRef();
|
||||||
|
|
||||||
String path = getPath();
|
String path = getPath();
|
||||||
List<String> pathElements = getDAVHelper().splitAllPaths(path);
|
|
||||||
FileInfo fileInfo = null;
|
FileInfo fileInfo = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// get the node to delete
|
// get the node to delete
|
||||||
fileInfo = fileFolderService.resolveNamePath(rootNodeRef, pathElements);
|
fileInfo = getNodeForPath(rootNodeRef, path);
|
||||||
}
|
}
|
||||||
catch (FileNotFoundException e)
|
catch (FileNotFoundException e)
|
||||||
{
|
{
|
||||||
|
@@ -74,7 +74,7 @@ public class MoveMethod extends HierarchicalMethod
|
|||||||
FileInfo sourceInfo = null;
|
FileInfo sourceInfo = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
sourceInfo = getDAVHelper().getNodeForPath(rootNodeRef, sourcePath);
|
sourceInfo = getNodeForPath(rootNodeRef, sourcePath);
|
||||||
}
|
}
|
||||||
catch (FileNotFoundException e)
|
catch (FileNotFoundException e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user