From b7b1324dd0b2af6abc8cd5b98f620ca227582d4d Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 4 Dec 2020 22:05:29 +0100 Subject: [PATCH] fixed disabled prefix in case of unsafe import to conform to new attribute name pattern constraints --- src/services/import/zip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/import/zip.js b/src/services/import/zip.js index ddbe47610..7dc61ef66 100644 --- a/src/services/import/zip.js +++ b/src/services/import/zip.js @@ -158,7 +158,7 @@ async function importZip(taskContext, fileBuffer, importRootNote) { } if (taskContext.data.safeImport && attributeService.isAttributeDangerous(attr.type, attr.name)) { - attr.name = 'disabled-' + attr.name; + attr.name = 'disabled:' + attr.name; } attributes.push(attr);