objecthub-io / ObjectHub

ObjectHub is an open repository for software objects and a development platform.
2 stars 1 forks source link

Deployed Micro Page cannot load embedded Micro App #207

Closed mxro closed 7 years ago

mxro commented 7 years ago

Steps

Findings

An exception is reported that the embedded Micro App cannot be loaded. For instance:

Error loading app: Cannot convert reported exception result to Java Exception. Exception Result Type: class java.lang.String Exception Result toString: Unauthorized: No secret matching the supplied secret. Secret: [Token.UNSPECIFIED_TOKEN] Node [Nx.reference(https://u1.objecthub.io/objecthub/home/my/~*3/data/.n/Tests_7/.n/Micro_App_Deploy/.n/Awesome_Page/deploy/main/versions/~*0/app/app_version)] Message: [ResolveMessageData [node=Nx.reference(https://u1.objecthub.io/objecthub/home/my/~*3/data/.n/Tests_7/.n/Micro_App_Deploy/.n/Awesome_Page/deploy/main/versions/~*0/app/app_version), token=Token.UNSPECIFIED_TOKEN]] Possible identifications of accepted authorizations are [[, , master-secret]]

java.lang.Exception: Cannot convert reported exception result to Java Exception. Exception Result Type: class java.lang.String Exception Result toString: Unauthorized: No secret matching the supplied secret. Secret: [Token.UNSPECIFIED_TOKEN] Node [Nx.reference(https://u1.objecthub.io/objecthub/home/my/~*3/data/.n/Tests_7/.n/Micro_App_Deploy/.n/Awesome_Page/deploy/main/versions/~*0/app/app_version)] Message: [ResolveMessageData [node=Nx.reference(https://u1.objecthub.io/objecthub/home/my/~*3/data/.n/Tests_7/.n/Micro_App_Deploy/.n/Awesome_Page/deploy/main/versions/~*0/app/app_version), token=Token.UNSPECIFIED_TOKEN]] Possible identifications of accepted authorizations are [[, , master-secret]]
Unknown.nM(0.js@113)
Unknown.v(0.js@365)
Unknown.ew(0.js@211)
Unknown._.Hb(0.js@241)
Unknown._.Ol(0.js@333)
Unknown.Vuc.Nv.0.2(0.js@362)
Unknown.Z9(0.js@245)
Unknown.R(0.js@393)
Unknown.eval(0.js@285)
Unknown.eval(0.js@243)
Unknown.eval(0.js@295)
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@12)
mxro commented 7 years ago

Problem is that Bundle is not included in HTML page.

mxro commented 7 years ago

Fixed.