diff --git a/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js b/entity/Attribute_entity/recordcontainers/jdito/contentProcess.js index bef02e09856c71b154f2ca84b28982ba629022d7..26dccfdc9956c9f8d85820185957af2e8e031ff5 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 a4ad1b837c44901630593abd843a4467f6ca8707..ac587aa94de4b50020b99e39054ac3b3b29403ae 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++) {