From 629dc686d7358a4d7f9391a1a2a8828a6e1041de Mon Sep 17 00:00:00 2001 From: "S.Listl" <S.Listl@SLISTL.aditosoftware.local> Date: Thu, 25 Jul 2019 12:38:35 +0200 Subject: [PATCH] Task bugfix --- .../Attribute_entity/recordcontainers/jdito/contentProcess.js | 3 --- .../Document_entity/recordcontainers/jdito/contentProcess.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js b/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js index bef02e09856..26dccfdc995 100644 --- a/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js +++ b/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js @@ -1,4 +1,3 @@ -import("system.logging"); import("system.translate"); import("Util_lib"); import("JditoFilter_lib"); @@ -122,8 +121,6 @@ var nameCache = {}; result.object(_buildAttributeTable(attributes, usages)); -logging.log(JSON.stringify(nameCache, null, "\t")) - //sorts the records in a way that a tree can be built and adds values function _buildAttributeTable (pAttributes, pUsages) { diff --git a/entity/Document_entity/recordcontainers/jdito/contentProcess.js b/entity/Document_entity/recordcontainers/jdito/contentProcess.js index a4ad1b837c4..ac587aa94de 100644 --- a/entity/Document_entity/recordcontainers/jdito/contentProcess.js +++ b/entity/Document_entity/recordcontainers/jdito/contentProcess.js @@ -22,7 +22,7 @@ if(vars.exists("$param.AssignmentTable_param") && if(vars.exists("$local.idvalues") && vars.get("$local.idvalues")) metadata = db.getBinaryMetadataForIds(vars.get("$local.idvalues"), true, alias) else - metadata = db.getBinaryMetadata(assignmentTable, assignmentName, assignmentRowId, false, alias, keyword); + metadata = db.getBinaryMetadata(assignmentTable, assignmentName || "", assignmentRowId, false, alias, keyword); // Iterate through found binary data and populate result array for( var i = 0; i < metadata.length; i++) { -- GitLab