mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-1867 (Reject rule works incorrect if set up in File Plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -731,6 +731,7 @@
|
|||||||
|
|
||||||
<bean id="reject" class="org.alfresco.module.org_alfresco_module_rm.action.impl.RejectAction" parent="rmAction">
|
<bean id="reject" class="org.alfresco.module.org_alfresco_module_rm.action.impl.RejectAction" parent="rmAction">
|
||||||
<property name="publicAction" value="true"/>
|
<property name="publicAction" value="true"/>
|
||||||
|
<property name="auditedImmediately" value="true" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- File To -->
|
<!-- File To -->
|
||||||
|
@@ -77,11 +77,8 @@ public final class FilePlanNamePathDataExtractor extends AbstractDataExtractor
|
|||||||
*/
|
*/
|
||||||
public Serializable extractData(Serializable value)
|
public Serializable extractData(Serializable value)
|
||||||
{
|
{
|
||||||
String extractedData = null;
|
|
||||||
|
|
||||||
NodeRef nodeRef = (NodeRef) value;
|
NodeRef nodeRef = (NodeRef) value;
|
||||||
if (nodeService.hasAspect(nodeRef, RecordsManagementModel.ASPECT_FILE_PLAN_COMPONENT))
|
|
||||||
{
|
|
||||||
// Get path from the RM root
|
// Get path from the RM root
|
||||||
List<NodeRef> nodeRefPath = filePlanService.getNodeRefPath(nodeRef);
|
List<NodeRef> nodeRefPath = filePlanService.getNodeRefPath(nodeRef);
|
||||||
|
|
||||||
@@ -93,9 +90,6 @@ public final class FilePlanNamePathDataExtractor extends AbstractDataExtractor
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Done
|
// Done
|
||||||
extractedData = sb.toString();
|
return sb.toString();
|
||||||
}
|
|
||||||
|
|
||||||
return extractedData;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user