mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
MNT-7514 : Merged DEV to V4.2-BUG-FIX
58142 : MNT-7514 : Uninformational error message on move when file name conflicts Added new failure message if file exists. 58263 : MNT-7514 : Uninformational error message on move when file name conflicts Was corrected showing failure message for copy/move a file or folder. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/V4.2-BUG-FIX/root@58267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -77,6 +77,15 @@ function runAction(p_params)
|
||||
result.id = file;
|
||||
result.nodeRef = nodeRef;
|
||||
result.success = false;
|
||||
|
||||
//MNT-7514 Uninformational error message on move when file name conflicts
|
||||
result.fileExist = false;
|
||||
|
||||
error = e.toString();
|
||||
if (error.indexOf("FileExistsException") != -1)
|
||||
{
|
||||
result.fileExist = true;
|
||||
}
|
||||
}
|
||||
|
||||
results.push(result);
|
||||
|
Reference in New Issue
Block a user