mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-10902 : No friendly notification occurs when Editor or Collaborator tries to delete content
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -268,7 +268,7 @@ class ScenarioOpenFileInstance implements ScenarioInstance
|
||||
|
||||
commands.add(new CloseFileCommand(c.getName(), file, c.getRootNodeRef(), c.getPath()));
|
||||
|
||||
postErrorCommands.add(new RemoveNoContentFileOnError(c.getName(), c.getRootNodeRef(), c.getPath()));
|
||||
//postErrorCommands.add(new RemoveNoContentFileOnError(c.getName(), c.getRootNodeRef(), c.getPath()));
|
||||
|
||||
if(c.isDeleteOnClose())
|
||||
{
|
||||
@@ -306,7 +306,7 @@ class ScenarioOpenFileInstance implements ScenarioInstance
|
||||
|
||||
if(name != null && name.equalsIgnoreCase(o.getName()))
|
||||
{
|
||||
if(o.getMode() == OpenFileMode.WRITE)
|
||||
if(o.getMode() == OpenFileMode.READ_WRITE)
|
||||
{
|
||||
// This is an open of a read write access
|
||||
if(openReadWriteCount == 0)
|
||||
|
Reference in New Issue
Block a user