Issue:
Happens on load of CreationView.html. settings.json is within the package, other external files like strings_en.json got loaded and displayed.
The Error from Chrome Developer View / Inspect:
Uncaught TypeError: Cannot read property 'locations' of undefined
After debugging for an hour, it seems like the settings.json isn´t initialized at all. Please help me out with this, i really would like to use the solution for our facility team.
Category: Issue
Area: All devices and browsers
Description:
Uncaught TypeError: Cannot read property 'locations' of undefined
at setLocationOptions (CreationView.js:197)
at CreationView.js:43
at executeCallback (KASClient.js:4813)
at onGetJson (KASClient.js:4853)
at eval (eval at executeFunction (KASClient.js:6513), <anonymous>:3:18)
at Object.executeFunction (KASClient.js:6514)
at callFunction (KASClient.js:6307)
at Object.<anonymous> (KASClient.js:6297)
setLocationOptions @ CreationView.js:197
(anonymous) @ CreationView.js:43
executeCallback @ KASClient.js:4813
onGetJson @ KASClient.js:4853
(anonymous) @ VM154:3
executeFunction @ KASClient.js:6514
callFunction @ KASClient.js:6307
(anonymous) @ KASClient.js:6297
postMessage (async)
sendMessageToIFrame @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
e.resolveCallback @ webapp.js?v=1.1.19.0612.094105:332
e.resolvePrefetch @ webapp.js?v=1.1.19.0612.094105:332
(anonymous) @ webapp.js?v=1.1.19.0612.094105:332
add @ webapp.js?v=1.1.19.0612.094105:284
routeMessageFromMiniapp @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
postMessage (async)
postMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:371
sendCommandMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:326
receiveCommandsFromMiniapp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:250
callNativeCommand @ KASClient.js:6296
callNative @ KASClient.js:5944
(anonymous) @ KASClient.js:5912
(anonymous) @ KASClient.js:7247
getClientSupportedVersion @ KASClient.js:7279
commandIsCompatible @ KASClient.js:7244
callNativeCommand @ KASClient.js:5910
getPackageCustomSettings @ KASClient.js:5582
getPackageCustomSettingsAsync @ KASClient.js:1230
(anonymous) @ CreationView.js:36
(anonymous) @ KASClient.js:5056
executeCallback @ KASClient.js:4813
onGetJson @ KASClient.js:4853
(anonymous) @ VM153:3
executeFunction @ KASClient.js:6514
callFunction @ KASClient.js:6307
(anonymous) @ KASClient.js:6297
executeCallback @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:312
receiveMessageFromWebApp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:278
postMessage (async)
sendMessageToIFrame @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
e.resolveCallback @ webapp.js?v=1.1.19.0612.094105:332
e.resolvePrefetch @ webapp.js?v=1.1.19.0612.094105:332
(anonymous) @ webapp.js?v=1.1.19.0612.094105:332
add @ webapp.js?v=1.1.19.0612.094105:284
routeMessageFromMiniapp @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
postMessage (async)
postMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:371
sendCommandMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:326
receiveCommandsFromMiniapp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:250
callNativeCommand @ KASClient.js:6296
callNative @ KASClient.js:5944
(anonymous) @ KASClient.js:5912
(anonymous) @ KASClient.js:7247
getClientSupportedVersion @ KASClient.js:7279
commandIsCompatible @ KASClient.js:7244
callNativeCommand @ KASClient.js:5910
getAppInfo @ KASClient.js:5044
getAppLocale @ KASClient.js:5050
(anonymous) @ CreationView.js:31
(anonymous) @ KASClient.js:154
executeCallback @ KASClient.js:4813
onGetJson @ KASClient.js:4853
(anonymous) @ VM152:3
executeFunction @ KASClient.js:6514
callFunction @ KASClient.js:6307
(anonymous) @ KASClient.js:6297
executeCallback @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:312
receiveMessageFromWebApp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:278
postMessage (async)
sendMessageToIFrame @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
e.resolveCallback @ webapp.js?v=1.1.19.0612.094105:332
(anonymous) @ webapp.js?v=1.1.19.0612.094105:332
add @ webapp.js?v=1.1.19.0612.094105:284
routeMessageFromMiniapp @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
postMessage (async)
postMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:371
sendCommandMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:326
receiveCommandsFromMiniapp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:250
callNativeCommand @ KASClient.js:6296
callNative @ KASClient.js:5944
(anonymous) @ KASClient.js:5912
(anonymous) @ KASClient.js:7247
getClientSupportedVersion @ KASClient.js:7279
commandIsCompatible @ KASClient.js:7244
callNativeCommand @ KASClient.js:5910
getUserDetails @ KASClient.js:5094
getUsersDetailsAsync @ KASClient.js:144
(anonymous) @ CreationView.js:26
executeCallback @ KASClient.js:4813
onGetString @ KASClient.js:4884
(anonymous) @ VM151:3
executeFunction @ KASClient.js:6514
callFunction @ KASClient.js:6307
(anonymous) @ KASClient.js:6297
executeCallback @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:312
receiveMessageFromWebApp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:278
postMessage (async)
sendMessageToIFrame @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
e.resolveCallback @ webapp.js?v=1.1.19.0612.094105:332
e.resolvePrefetch @ webapp.js?v=1.1.19.0612.094105:332
(anonymous) @ webapp.js?v=1.1.19.0612.094105:332
add @ webapp.js?v=1.1.19.0612.094105:284
routeMessageFromMiniapp @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
postMessage (async)
postMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:371
sendCommandMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:326
receiveCommandsFromMiniapp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:250
callNativeCommand @ KASClient.js:6296
callNative @ KASClient.js:5944
(anonymous) @ KASClient.js:5912
(anonymous) @ KASClient.js:7247
getClientSupportedVersion @ KASClient.js:7279
commandIsCompatible @ KASClient.js:7244
callNativeCommand @ KASClient.js:5910
getCurrentUserId @ KASClient.js:5271
getCurrentUserIdAsync @ KASClient.js:993
(anonymous) @ CreationView.js:22
executeCallback @ KASClient.js:4813
onGetJson @ KASClient.js:4853
(anonymous) @ VM150:3
executeFunction @ KASClient.js:6514
callFunction @ KASClient.js:6307
(anonymous) @ KASClient.js:6297
executeCallback @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:312
receiveMessageFromWebApp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:278
postMessage (async)
sendMessageToIFrame @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
e.resolveCallback @ webapp.js?v=1.1.19.0612.094105:332
e.resolvePrefetch @ webapp.js?v=1.1.19.0612.094105:332
(anonymous) @ webapp.js?v=1.1.19.0612.094105:332
add @ webapp.js?v=1.1.19.0612.094105:284
routeMessageFromMiniapp @ webapp.js?v=1.1.19.0612.094105:172
(anonymous) @ webapp.js?v=1.1.19.0612.094105:172
postMessage (async)
postMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:371
sendCommandMessage @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:326
receiveCommandsFromMiniapp @ actionboot.html?p=https://cdn2-dr.kaiza.la/acp/de.pegasus-gmbh.kaizala.createticket.1.8/CreationView.html&vid=c958b6bd-0c44-45f3-9fdd-1be721a1789b&o=https://webapp.kaiza.la&d=kaiza.la:250
callNativeCommand @ KASClient.js:6296
callNative @ KASClient.js:5944
(anonymous) @ KASClient.js:5912
(anonymous) @ KASClient.js:7247
getClientSupportedVersion @ KASClient.js:7279
commandIsCompatible @ KASClient.js:7244
callNativeCommand @ KASClient.js:5910
getLocalizedMiniAppStrings @ KASClient.js:5575
getLocalizedStringsAsync @ KASClient.js:1209
onPageLoad @ CreationView.js:17
onload @ CreationView.html:11
Issue:
Happens on load of CreationView.html. settings.json is within the package, other external files like strings_en.json got loaded and displayed.
The Error from Chrome Developer View / Inspect:
Uncaught TypeError: Cannot read property 'locations' of undefined
After debugging for an hour, it seems like the settings.json isn´t initialized at all. Please help me out with this, i really would like to use the solution for our facility team.
Category: Issue
Area: All devices and browsers
Description: