mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM: Fixed null pointer error noticed during testing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54459 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -57,7 +57,8 @@ public class IsKindEvaluator extends RecordsManagementActionConditionEvaluatorAb
|
|||||||
|
|
||||||
FilePlanComponentKind filePlanComponentKind = filePlanService.getFilePlanComponentKind(actionedUponNodeRef);
|
FilePlanComponentKind filePlanComponentKind = filePlanService.getFilePlanComponentKind(actionedUponNodeRef);
|
||||||
|
|
||||||
if (filePlanComponentKind.toString().equals(kind))
|
if (filePlanComponentKind != null &&
|
||||||
|
filePlanComponentKind.toString().equals(kind))
|
||||||
{
|
{
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user