mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
[MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]
This commit is contained in:
@@ -256,7 +256,10 @@ public class NodeFolderSizeRelation implements CalculateSize<Map<String, Object>
|
||||
if(folderSizeAction!=null)
|
||||
{
|
||||
String errorInAction = (String) folderSizeAction.getParameterValue(NodeSizeActionExecuter.ERROR);
|
||||
throw new InvalidNodeTypeException(errorInAction);
|
||||
if(errorInAction.length()>1)
|
||||
{
|
||||
throw new InvalidNodeTypeException(errorInAction);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user