From 32d3f81833b88703837c393620e480a655bf0118 Mon Sep 17 00:00:00 2001
From: "d.buechler" <d.buechler@adito.de>
Date: Fri, 13 Sep 2019 16:16:20 +0200
Subject: [PATCH] Removal of several logging calls New Check for null that the
 parameter value is applied correctly

---
 .../entityfields/duplicatescanner_id/valueProcess.js       | 5 +----
 .../entityfields/duplicatescanner_id/valueProcess.js       | 7 ++-----
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/entity/DuplicateScannerIndexConfig_entity/entityfields/duplicatescanner_id/valueProcess.js b/entity/DuplicateScannerIndexConfig_entity/entityfields/duplicatescanner_id/valueProcess.js
index 66f9c66a4b..b8c682ad67 100644
--- a/entity/DuplicateScannerIndexConfig_entity/entityfields/duplicatescanner_id/valueProcess.js
+++ b/entity/DuplicateScannerIndexConfig_entity/entityfields/duplicatescanner_id/valueProcess.js
@@ -1,10 +1,7 @@
-import("system.logging");
 import("system.result");
 import("system.vars");
-logging.log("DuplicateScannerId_param -> " + vars.get("$param.DuplicateScannerId_param"));
-logging.log("this value -> " + vars.get("$this.value"));
+
 if(vars.get("$this.value") == null || vars.get("$this.value") == "")
 {
-    logging.log("hallo -> ");
     result.string(vars.get("$param.DuplicateScannerId_param"));
 }
\ No newline at end of file
diff --git a/entity/DuplicateScannerPrefilterConfig_entity/entityfields/duplicatescanner_id/valueProcess.js b/entity/DuplicateScannerPrefilterConfig_entity/entityfields/duplicatescanner_id/valueProcess.js
index 15289852f2..b8c682ad67 100644
--- a/entity/DuplicateScannerPrefilterConfig_entity/entityfields/duplicatescanner_id/valueProcess.js
+++ b/entity/DuplicateScannerPrefilterConfig_entity/entityfields/duplicatescanner_id/valueProcess.js
@@ -1,10 +1,7 @@
-import("system.logging");
 import("system.result");
 import("system.vars");
-logging.log("asdDuplicateScannerId_param -> " + vars.get("$param.DuplicateScannerId_param"));
-logging.log("asdthis value -> " + vars.get("$this.value"));
-if(vars.get("$this.value") == "")
+
+if(vars.get("$this.value") == null || vars.get("$this.value") == "")
 {
-        logging.log("asdhallo -> ");
     result.string(vars.get("$param.DuplicateScannerId_param"));
 }
\ No newline at end of file
-- 
GitLab