mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6865 adding null check
This commit is contained in:
@@ -140,7 +140,7 @@ public class CreateRecordAction extends AuditableActionExecuterAbstractBase
|
|||||||
|
|
||||||
if (pathParameter != null && !pathParameter.isEmpty())
|
if (pathParameter != null && !pathParameter.isEmpty())
|
||||||
{
|
{
|
||||||
if ((Boolean) action.getParameterValue(PARAM_ENCODED))
|
if (action.getParameterValue(PARAM_ENCODED) != null && (Boolean) action.getParameterValue(PARAM_ENCODED))
|
||||||
{
|
{
|
||||||
destinationRecordFolder = resolvePath(filePlan, decode(pathParameter));
|
destinationRecordFolder = resolvePath(filePlan, decode(pathParameter));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user