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
|
||||
|
||||
protected String m_strDestinationPath;
|
||||
protected boolean m_overwrite = false;
|
||||
protected boolean m_overwrite = true;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
@@ -137,9 +137,9 @@ public abstract class HierarchicalMethod extends WebDAVMethod
|
||||
// Check if the copy should overwrite an existing file
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user