From 5478c886836a38b9f06b4c955be46533f908f524 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Fri, 21 May 2021 11:42:50 +0100 Subject: [PATCH] Update activiti-alfresco.service.ts (#7041) --- lib/core/form/services/activiti-alfresco.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/form/services/activiti-alfresco.service.ts b/lib/core/form/services/activiti-alfresco.service.ts index 0688de70f3d..824868c242c 100644 --- a/lib/core/form/services/activiti-alfresco.service.ts +++ b/lib/core/form/services/activiti-alfresco.service.ts @@ -99,7 +99,7 @@ export class ActivitiContentService { const currentSideId = siteId ? siteId : this.sitesService.getSiteNameFromNodePath(node); const params: RelatedContentRepresentation = { source: accountId, - mimeType: node.content.mimeType, + mimeType: node?.content?.mimeType, sourceId: node.id + ';' + node.properties['cm:versionLabel'] + '@' + currentSideId, name: node.name, link: node.isLink