From a355458b197fa063ea4d5b0f193722852dc62b67 Mon Sep 17 00:00:00 2001 From: "d.buechler" <d.buechler@adito.de> Date: Tue, 3 Dec 2019 13:39:40 +0100 Subject: [PATCH] Temporary Fix. When using dynamic(No fieldname as string(vars.get("$field.contactid")), instead automatic calling e.g. in a loop) vars.get on an entity field the static code analysis cant recognize that those fields are used. The values of those fields wont be loaded and thus not be available. To achieve a temporary fix, a manual call of get of the desired field will help. --- .../children/onlyshowcontactids_param/valueProcess.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entity/Organisation_entity/entityfields/selfduplicatesuncached/children/onlyshowcontactids_param/valueProcess.js b/entity/Organisation_entity/entityfields/selfduplicatesuncached/children/onlyshowcontactids_param/valueProcess.js index fb1fb5a8a32..aaaeaa3d0f6 100644 --- a/entity/Organisation_entity/entityfields/selfduplicatesuncached/children/onlyshowcontactids_param/valueProcess.js +++ b/entity/Organisation_entity/entityfields/selfduplicatesuncached/children/onlyshowcontactids_param/valueProcess.js @@ -14,6 +14,9 @@ var entityFieldsToLoad = DuplicateScannerUtils.GetEntityFieldsFromConfig(scanner //as key/value pairs into an object. This is used to trigger the scan for duplicates let fieldValue = ""; let entityFields = []; + +vars.get("$field.STANDARD_CITY") + for (fieldname in entityFieldsToLoad) { field = entityFieldsToLoad[fieldname]; -- GitLab