From 814916fb21d569137ece113bd6142fe19dc677d0 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Wed, 21 Jun 2023 17:04:38 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B06362=20-=20Fix=20export=20of=20linkset?= =?UTF-8?q?=20tab=20not=20working=20due=20to=20JS=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/utils.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/utils.js b/js/utils.js index 83096163e..7747f173c 100644 --- a/js/utils.js +++ b/js/utils.js @@ -390,6 +390,11 @@ function ExportListDlg(sOQL, sDataTableId, sFormat, sDlgTitle) { for (var j in oColumns) { if (oColumns[j]['data']) { if (oColumns[j]['data']!='id') { + // Ignore columns that seem not to contain an attribute + if (typeof oColumns[j]['data'] !== 'string') { + continue; + } + var sCode = oColumns[j]['data'].split("/"); if (sCode[1] == '_key_') { sCode[1] = 'id';