From 30739bc5f44c77a2399dd3d23783b6125c01a918 Mon Sep 17 00:00:00 2001 From: "j.goderbauer" <j.goderbauer@adito.de> Date: Thu, 27 Aug 2020 17:40:58 +0200 Subject: [PATCH] [Projekt: Entwicklung - Neon][TicketNr.: 1063338][Hinterlegen Standardprozess am RecordContainer im cacheKeyProzess] --- process/CachedRecordContainer_lib/process.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process/CachedRecordContainer_lib/process.js b/process/CachedRecordContainer_lib/process.js index 0d2da5b581..e44f4dfa90 100644 --- a/process/CachedRecordContainer_lib/process.js +++ b/process/CachedRecordContainer_lib/process.js @@ -1,4 +1,5 @@ import("system.vars"); +import("Util_lib"); /** * provides field-preset-constants for cached data records @@ -58,7 +59,6 @@ CachedRecordContainerFieldPresets.STANDARD_WITH_LOCALE = function(){ //there is no locale-variable for the server, so let's just store THAT it's the locale of the serverprocess res.unshift("_____serverlocale"); } - res = res.concat(CachedRecordContainerFieldPresets.STANDARD()); return res; }; @@ -124,7 +124,7 @@ CachedRecordContainerUtils.getCommonKey = function(pExtendedVariable1, pExtended */ CachedRecordContainerUtils.getKeyWithPreset = function(pPreset, pExtendedVariable1, pExtendedVariableN) { var varsToCheck; - if (typeof (pPreset) == "function") + if (Utils.isFunction(pPreset)) varsToCheck = pPreset.call(); else if (Array.isArray(pPreset)) varsToCheck = pPreset; -- GitLab