RM-1066: Set Property action node value substitution breaks declare record when no value set.

RM-1065	 Unable to hide completed records.
RM-1067	 Key French RM term is incorrect




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2013-10-11 03:42:10 +00:00
parent dfb39a0208
commit 63b67784a8
14 changed files with 201 additions and 197 deletions

View File

@@ -108,8 +108,16 @@ public class NodeParameterProcessor extends ParameterProcessor
QName type = propertyDefinition.getDataType().getName();
if (ArrayUtils.contains(supportedDataTypes, type) == true)
{
Serializable propertyValue = nodeService.getProperty(actionedUponNodeRef, qname);
result = propertyValue.toString();
Serializable propertyValue = nodeService.getProperty(actionedUponNodeRef, qname);
if (propertyValue != null)
{
result = propertyValue.toString();
}
else
{
// set the result to the empty string
result = "";
}
}
else
{