mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-4619 - moved the fileplan component check back
This commit is contained in:
@@ -137,10 +137,17 @@ public class RMNodesImpl extends NodesImpl implements RMNodes
|
||||
}
|
||||
|
||||
if (type == null)
|
||||
{
|
||||
if (filePlanService.isFilePlanComponent(nodeRef))
|
||||
{
|
||||
node = new FileplanComponentNode(originalNode);
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new InvalidParameterException("The provided node is not a fileplan component");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
switch(type)
|
||||
{
|
||||
|
Reference in New Issue
Block a user