From cd1982b1f79f5a1c1e307d98bfe8e42f9ce9b0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Fri, 4 Nov 2022 11:50:35 +0100 Subject: [PATCH] #106: temp debug commit --- lib/metadataTypes/Folder.js | 4 ++++ lib/metadataTypes/MetadataType.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/lib/metadataTypes/Folder.js b/lib/metadataTypes/Folder.js index bdaf62f9c..9c139ad5d 100644 --- a/lib/metadataTypes/Folder.js +++ b/lib/metadataTypes/Folder.js @@ -251,6 +251,7 @@ class Folder extends MetadataType { let result; // since deployableMetadata will be modified for deploy, make a copy for reference const beforeMetadata = JSON.parse(JSON.stringify(deployableMetadata)); + console.log('folder.upsert', deployableMetadata); if (existingId) { // if an existing folder exists with the same name/path then use that deployableMetadata.ID = existingId; @@ -332,6 +333,8 @@ class Folder extends MetadataType { } const path = metadataEntry.Path; try { + console.log('folder.create', metadataEntry); + const response = await super.createSOAP(metadataEntry, 'DataFolder', true); if (response) { response.Results[0].Object = metadataEntry; @@ -364,6 +367,7 @@ class Folder extends MetadataType { static async update(metadataEntry) { const path = metadataEntry.Path; try { + console.log('folder.update', metadataEntry); const response = await super.updateSOAP(metadataEntry, 'DataFolder', true); if (response) { response.Results[0].Object = metadataEntry; diff --git a/lib/metadataTypes/MetadataType.js b/lib/metadataTypes/MetadataType.js index 5d0fabdd2..21d11fc87 100644 --- a/lib/metadataTypes/MetadataType.js +++ b/lib/metadataTypes/MetadataType.js @@ -603,6 +603,7 @@ class MetadataType { metadataEntry, null ); + console.log('folder.create > createSOAP', response); if (!handleOutside) { Util.logger.info( @@ -683,6 +684,7 @@ class MetadataType { metadataEntry, null ); + console.log('folder.update > updateSOAP', response); if (!handleOutside) { Util.logger.info( ` - updated ${this.definition.type}: ${