Closed michaelbukachi closed 6 years ago
Thank you for reporting this issue.
There was a bug with Micro App deployment. It is fixed now. Just deploy a new version and it should work.
Okay I deployed a new version. The error no longer appears in the browser window. However, when you check Chrome's console there's this error:
app_js.value.js:40 Uncaught TypeError: cmpl_load is not a function
at eval (app_js.value.js:40)
at eval (baseJs.js:19)
(anonymous) @ app_js.value.js:40
(anonymous) @ baseJs.js:19
setTimeout (async)
lib.cmpl_getSecret @ baseJs.js:17
(anonymous) @ app_js.value.js:17
priv.triggerCallback @ ObjectHub_Core_V3_0.js:333
(anonymous) @ ObjectHub_Core_V3_0.js:357
(anonymous) @ ObjectHub_Core_V3_0.js:324
m5 @ 0.js:1679
_.x @ 0.js:1682
_.Q @ 0.js:1466
_.Q @ 0.js:1465
_.Q @ 0.js:1727
_.Q @ 0.js:1726
gE @ 0.js:1407
_.Q @ 0.js:1407
_.Ib @ 0.js:1617
_.Ql @ 0.js:1710
Rwc.$v.0.2 @ 0.js:1711
X9 @ 0.js:2437
R @ 0.js:2440
(anonymous) @ 0.js:1711
(anonymous) @ 0.js:2442
(anonymous) @ 0.js:1679
(anonymous) @ ObjectHub_Core_V3_0.js:293
(anonymous) @ ObjectHub_Core_V3_0.js:268
init @ Import_Utils.value.js:11
window.Libraries.install @ ObjectHub_Core_V3_0.js:259
priv.requireOne @ ObjectHub_Core_V3_0.js:289
(anonymous) @ ObjectHub_Core_V3_0.js:305
m5 @ 0.js:1679
_.x @ 0.js:1635
_.Q @ 0.js:449
_.Q @ 0.js:1669
_.Q @ 0.js:1465
_.Q @ 0.js:1727
_.ei @ 0.js:1175
_.G @ 0.js:2401
_.G @ 0.js:2369
_.fi @ 0.js:2373
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
qT @ 0.js:1468
_.Q @ 0.js:1213
JG @ 0.js:615
YRa @ 0.js:1444
_.Sd @ 0.js:1442
oT @ 0.js:1212
_.nn @ 0.js:2301
OJc @ 0.js:2293
g9 @ 0.js:2267
N6 @ 0.js:2263
_.om @ 0.js:1918
WNc @ 0.js:2398
_.vn @ 0.js:2400
aS @ 0.js:2355
HS @ 0.js:2360
_.w @ 0.js:1174
_.H @ 0.js:1220
gT @ 0.js:1464
zs @ 0.js:1197
_.w @ 0.js:1170
nsc @ 0.js:1634
lsc @ 0.js:1516
X9 @ 0.js:2437
R @ 0.js:2440
(anonymous) @ 0.js:1508
(anonymous) @ 0.js:2442
window.Apps.priv.performEmbed @ ObjectHub_Core_V3_0.js:619
(anonymous) @ ObjectHub_Core_V3_0.js:646
m5 @ 0.js:1679
_.H @ 0.js:1617
_.w @ 0.js:1615
_.H @ 0.js:1220
gT @ 0.js:1464
Rs @ 0.js:1464
Yt @ 0.js:1197
_.M @ 0.js:1197
Pw @ 0.js:293
$vc @ 0.js:1686
X9 @ 0.js:2437
R @ 0.js:2440
(anonymous) @ 0.js:1685
(anonymous) @ 0.js:2442
(anonymous) @ page&secret=Pb4OkNHB:533
priv.triggerCallback @ ObjectHub_Core_V3_0.js:333
(anonymous) @ ObjectHub_Core_V3_0.js:357
(anonymous) @ ObjectHub_Core_V3_0.js:324
m5 @ 0.js:1679
_.x @ 0.js:1682
_.Q @ 0.js:1466
_.Q @ 0.js:1465
_.Q @ 0.js:1727
_.Q @ 0.js:1726
gE @ 0.js:1407
_.Q @ 0.js:1407
_.Ib @ 0.js:1617
_.Ql @ 0.js:1710
Rwc.$v.0.2 @ 0.js:1711
X9 @ 0.js:2437
R @ 0.js:2440
(anonymous) @ 0.js:1711
(anonymous) @ 0.js:2442
(anonymous) @ 0.js:1679
(anonymous) @ ObjectHub_Core_V3_0.js:293
window.Libraries.install @ ObjectHub_Core_V3_0.js:256
priv.requireOne @ ObjectHub_Core_V3_0.js:289
(anonymous) @ ObjectHub_Core_V3_0.js:305
m5 @ 0.js:1679
_.x @ 0.js:1635
_.Q @ 0.js:449
_.Q @ 0.js:1669
_.Q @ 0.js:1465
_.Q @ 0.js:1727
_.ei @ 0.js:1175
_.G @ 0.js:2401
_.G @ 0.js:2369
_.fi @ 0.js:2373
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
_.G @ 0.js:1468
$z @ 0.js:1419
Vqc @ 0.js:1467
qT @ 0.js:1468
_.Q @ 0.js:1213
JG @ 0.js:615
YRa @ 0.js:1444
_.Sd @ 0.js:1442
oT @ 0.js:1212
_.nn @ 0.js:2301
OJc @ 0.js:2293
g9 @ 0.js:2267
N6 @ 0.js:2263
_.om @ 0.js:1918
WNc @ 0.js:2398
_.vn @ 0.js:2400
aS @ 0.js:2355
HS @ 0.js:2360
_.w @ 0.js:1174
_.H @ 0.js:1220
gT @ 0.js:1464
zs @ 0.js:1197
_.w @ 0.js:1170
nsc @ 0.js:1634
lsc @ 0.js:1516
X9 @ 0.js:2437
R @ 0.js:2440
(anonymous) @ 0.js:1508
(anonymous) @ 0.js:2442
(anonymous) @ ObjectHub_Core_V3_0.js:304
m5 @ 0.js:1679
_.H @ 0.js:1617
Rt @ 0.js:1403
_.w @ 0.js:1618
_.H @ 0.js:1220
gT @ 0.js:1464
Rs @ 0.js:1464
Yt @ 0.js:1197
_.M @ 0.js:1197
Pw @ 0.js:293
$vc @ 0.js:1686
X9 @ 0.js:2437
The embedded apps are still not being rendered properly. I'm suspecting it has something to do with the above error.
I think you might have an old version of a library in your cache. After opening the deployed app, open the console and type localStorage.clear();
. (Assure that this happens in the window that has opened the micro app on the domain u1.objecthub.io).
Then reload the page and it should work.
That fixed it. Thanks
Hi! Does this issue occur again?
Okay. So the issue is still persistent in a mobile browser (android)
Error loading app: (TypeError) : Object https://u1.objecthub.io/mahila/home/my/~*3/.n/Header has no method 'startsWith'
com.google.gwt.core.client.JavaScriptException: (TypeError) : Object https://u1.objecthub.io/mahila/home/my/~*3/.n/Header has no method 'startsWith'
TypeError: Object https://u1.objecthub.io/mahila/home/my/~*3/.n/Header has no method 'startsWith'
at lib.cmpl_getSecret (eval at (eval at (eval at (https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js:237:9))), :6:13)
at Object.eval (eval at (eval at (https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js:237:9)), :17:1)
at Object.priv.triggerCallback (https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js:333:21)
at https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js:357:14
at Object.b (https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js:324:14)
at m5 (https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS:1679:332)
at Object._.x (https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS:1682:482)
at Object._.Q (https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS:1466:409)
at Object._.Q (https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS:1465:483)
at Object._.Q (https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS:1727:453)
Unknown.cmpl_getSecret(eval at (eval at (eval at (https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js@9)
Unknown.eval(eval at (eval at (https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js@9)
Unknown.priv.triggerCallback(https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js@21)
Unknown.anonymous(https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js@14)
Unknown.b(https://objecthub.io/hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Foundation/.n/ObjectHub_Core_V3_0.js@14)
Unknown.m5(https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS@332)
Unknown._.x(https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS@482)
Unknown._.Q(https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS@409)
Unknown._.Q(https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS@483)
Unknown._.Q(https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/deploy/main/versions/~*8/page&secret=8w2ImymS@453)
-end of stack trace
Hmm, looks like the Android browser does not support startsWith ...
I have changed it now so that it doesn't use this method anymore. Can you try again? You will need to reload the ObjectHub page and deploy a new version.
Yes it works now. I'll try to check tomorrow if it also works on IOS
Works on IOS.
Hello. When I deploy a MicroApp I get the following error
Also, most Embedded micro apps aren't rendered properly.