From 47480a4aa2a8058cefcebf4fbbbe9137ee560f52 Mon Sep 17 00:00:00 2001 From: "j.goderbauer" <j.goderbauer@adito.de> Date: Thu, 10 Sep 2020 11:14:33 +0200 Subject: [PATCH] Removed several logging.log calls --- .../recordcontainers/jdito/contentProcess.js | 2 -- .../entityfields/uid/linkedContextProcess.js | 24 ------------------- .../filterValuesProcess.js | 3 --- process/ClassificationFilter_lib/process.js | 2 -- process/DuplicateScanner_lib/process.js | 2 +- 5 files changed, 1 insertion(+), 32 deletions(-) diff --git a/entity/360Degree_entity/recordcontainers/jdito/contentProcess.js b/entity/360Degree_entity/recordcontainers/jdito/contentProcess.js index 557b1ba4d8..60a8312eb2 100644 --- a/entity/360Degree_entity/recordcontainers/jdito/contentProcess.js +++ b/entity/360Degree_entity/recordcontainers/jdito/contentProcess.js @@ -1,4 +1,3 @@ -import("system.logging"); import("system.util"); import("system.db"); import("system.vars"); @@ -12,7 +11,6 @@ if (vars.exists("$param.ObjectType_param") && vars.get("$param.ObjectType_param" var selectMap = ContextUtils.getSelectMap(); if(vars.exists("$local.filter") && vars.get("$local.filter") ) { - logging.log(JSON.stringify(vars.get("$local.filter"))) var filter = vars.get("$local.filter"); if (filter.filter) if(filter.filter.childs != null && filter.filter.childs.length > 0) diff --git a/entity/ClassificationAdmin_entity/entityfields/uid/linkedContextProcess.js b/entity/ClassificationAdmin_entity/entityfields/uid/linkedContextProcess.js index 7f329d1a50..e69de29bb2 100644 --- a/entity/ClassificationAdmin_entity/entityfields/uid/linkedContextProcess.js +++ b/entity/ClassificationAdmin_entity/entityfields/uid/linkedContextProcess.js @@ -1,24 +0,0 @@ -//import("system.neon"); -//import("system.text"); -//import("system.vars"); -//import("system.result"); -//import("system.logging"); -// -//var value = vars.get("$this.value"); -// -//if(value) -//{ -// var res; -// if(value.charAt(0) != ";" && value.charAt(value.length) != ";") -// res = "ClassificationGroup"; -// else -// { -// decodedIdvalues = text.decodeMS(value); -// if(decodedIdvalues[0].charAt(0) != ";" && decodedIdvalues[0].charAt(decodedIdvalues[0].length) != ";") -// res = "ClassificationGrading"; -// else -// res = "ClassificationScore"; -// } -// neon.setFieldValue("$field.TARGET_CONTEXT" , res) -// logging.log(res) -//} \ No newline at end of file diff --git a/entity/Favorite_entity/recordcontainers/jditorecordcontainer/filterextensions/groupgroupnameextension/filterValuesProcess.js b/entity/Favorite_entity/recordcontainers/jditorecordcontainer/filterextensions/groupgroupnameextension/filterValuesProcess.js index 34c4eb2d23..f8a6e1919d 100644 --- a/entity/Favorite_entity/recordcontainers/jditorecordcontainer/filterextensions/groupgroupnameextension/filterValuesProcess.js +++ b/entity/Favorite_entity/recordcontainers/jditorecordcontainer/filterextensions/groupgroupnameextension/filterValuesProcess.js @@ -2,9 +2,6 @@ import("system.favorite"); import("system.tools"); import("system.result"); import("Sql_lib"); -import("system.logging"); - -logging.log("groupNameExtensionValuesProcess"); var allTypes = []; diff --git a/process/ClassificationFilter_lib/process.js b/process/ClassificationFilter_lib/process.js index 35716cdec2..e2200e6e6e 100644 --- a/process/ClassificationFilter_lib/process.js +++ b/process/ClassificationFilter_lib/process.js @@ -1,4 +1,3 @@ -import("system.logging"); import("Context_lib"); import("Classification_lib"); import("Entity_lib"); @@ -235,7 +234,6 @@ ClassificationGroupFilterUtils.getFilterFields = function(pObjectType) .provider("SpecificObjectTypeGroups") .addParameter("ObjectType_param", pObjectType); var classificationGroups = entities.getRows(config); - logging.log("classificationGroups>>" + JSON.stringify(classificationGroups)); classificationGroups = ArrayUtils.sortArrayOfObjects(classificationGroups, "#CONTENTTITLE", true, false); classificationGroups.forEach(function(classificationGroup, idx){ diff --git a/process/DuplicateScanner_lib/process.js b/process/DuplicateScanner_lib/process.js index 55607d8232..cd84a6b264 100644 --- a/process/DuplicateScanner_lib/process.js +++ b/process/DuplicateScanner_lib/process.js @@ -1023,7 +1023,7 @@ _DuplicateScannerUtils._isUseExternalWebservice = function(pFilterName, pTargetE */ _DuplicateScannerUtils._callIndexSearch = function(pTargetEntity, pIndexPatternWithValues, pIdFilter, pResultFields, pResultSetRows) { - logging.log(pIndexPatternWithValues) + //logging.log(pIndexPatternWithValues) //The indexPattern can't be null because it is required to run the search. if(pIndexPatternWithValues == null || pIndexPatternWithValues == "") return null; -- GitLab