mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-6297 - Adobe Framemaker "save" function does not play well with alfresco cifs
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -146,7 +146,7 @@ public class CommandExecutorImpl implements CommandExecutor
|
||||
*/
|
||||
if(command instanceof CompoundCommand)
|
||||
{
|
||||
logger.debug("post Commit");
|
||||
logger.debug("post commit of compound command");
|
||||
CompoundCommand c = (CompoundCommand)command;
|
||||
List<Command> commands = c.getPostCommitCommands();
|
||||
|
||||
@@ -210,7 +210,8 @@ public class CommandExecutorImpl implements CommandExecutor
|
||||
int openAction = FileAction.OpenIfExists;
|
||||
|
||||
// TODO Open Action FileAction.NTOverwrite o.truncate
|
||||
FileOpenParams params = new FileOpenParams(o.getPath(), openAction, o.isWriteAccess() ? AccessMode.ReadWrite : AccessMode.ReadOnly, FileAttribute.NTNormal, 0);
|
||||
// TODO ATTRIBUTES ONLY and DELETE ONLY
|
||||
FileOpenParams params = new FileOpenParams(o.getPath(), openAction, o.getMode() == OpenFileMode.WRITE ? AccessMode.ReadWrite : AccessMode.ReadOnly, FileAttribute.NTNormal, 0);
|
||||
|
||||
return diskInterface.openFile(sess, tree, params);
|
||||
}
|
||||
|
Reference in New Issue
Block a user