mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged V3.4-BUG-FIX to HEAD
28546: Merged V3.4 to V3.4-BUG-FIX 28544: Fixes truncated German strings 28567: AccessAuditorTest and PropertyAccessFilterTest added to AuditTestSuite. These tests had been excluded by build.xml. 28570: Fixed ALF-7961: Constraint value with a comma shows multiple fields 28574: ALF-9222 / ALF-9290: Cannot edit a file using Webdav (MacOS specific) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -37,7 +37,7 @@ public abstract class HierarchicalMethod extends WebDAVMethod
|
|||||||
// Request parameters
|
// Request parameters
|
||||||
|
|
||||||
protected String m_strDestinationPath;
|
protected String m_strDestinationPath;
|
||||||
protected boolean m_overwrite = false;
|
protected boolean m_overwrite = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default constructor
|
* Default constructor
|
||||||
@@ -137,9 +137,9 @@ public abstract class HierarchicalMethod extends WebDAVMethod
|
|||||||
// Check if the copy should overwrite an existing file
|
// Check if the copy should overwrite an existing file
|
||||||
|
|
||||||
String strOverwrite = m_request.getHeader(WebDAV.HEADER_OVERWRITE);
|
String strOverwrite = m_request.getHeader(WebDAV.HEADER_OVERWRITE);
|
||||||
if (strOverwrite != null && strOverwrite.equals(WebDAV.T))
|
if (strOverwrite != null && strOverwrite.equals(WebDAV.F))
|
||||||
{
|
{
|
||||||
m_overwrite = true;
|
m_overwrite = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -142,7 +142,7 @@ public class WebDAV
|
|||||||
public static final String HEADER_VALUE_SEPARATOR = ",";
|
public static final String HEADER_VALUE_SEPARATOR = ",";
|
||||||
public static final String ZERO = "0";
|
public static final String ZERO = "0";
|
||||||
public static final String ONE = "1";
|
public static final String ONE = "1";
|
||||||
public static final String T = "T";
|
public static final String F = "F";
|
||||||
|
|
||||||
// Strings used in WebDAV XML payload
|
// Strings used in WebDAV XML payload
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user