From 0d925a133dcb09dca2d4c49325b582e5da1b966b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Wed, 8 Jan 2025 18:21:02 +0100 Subject: [PATCH] #1768 / #1297: fix Fields getting set to empty string after changeKeyField and documentation not updated --- lib/metadataTypes/DataExtension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadataTypes/DataExtension.js b/lib/metadataTypes/DataExtension.js index bf4f83c1f..4d2259c65 100644 --- a/lib/metadataTypes/DataExtension.js +++ b/lib/metadataTypes/DataExtension.js @@ -304,7 +304,7 @@ class DataExtension extends MetadataType { delete Util.changedKeysMap?.[this.definition.type]?.[key]; const cachedVersion = createdUpdated.updated - ? cache.getByKey(this.definition.type, oldKey) + ? cache.getByKey(this.definition.type, key) : null; if (cachedVersion) { // UPDATE