objecthub-io / ObjectHub

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

Micro App deployment does not include /app_version #292

Closed objecthub-io closed 7 years ago

objecthub-io commented 7 years ago

For some deployments, /app_js and /app_html are not included for the root micro app, leading to errors as following:

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/mahila/home/my/~*3/.n/Landing_Page/app_version)] Message: [ResolveMessageData [node=Nx.reference(https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/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/mahila/home/my/~*3/.n/Landing_Page/app_version)] Message: [ResolveMessageData [node=Nx.reference(https://u1.objecthub.io/mahila/home/my/~*3/.n/Landing_Page/app_version), token=Token.UNSPECIFIED_TOKEN]] Possible identifications of accepted authorizations are [[, master-secret]]
Unknown.oM(0.js@113)
Unknown.w(0.js@365)
Unknown.rw(0.js@211)
Unknown._.Ib(0.js@241)
Unknown._.Ql(0.js@333)
Unknown.Rwc.$v.0.2(0.js@362)
Unknown.X9(0.js@253)
Unknown.S(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)
Unknown._.x(0.js@24)
Unknown._.ab(0.js@213)
Unknown.jz(0.js@303)
Unknown.jz(0.js@351)
Unknown._.cb(0.js@244)
Unknown.ez(0.js@323)
Unknown.Ru(0.js@68)
Unknown._.P(0.js@449)
Unknown._.P(0.js@358)
Unknown._.cb(0.js@436)
Unknown.jz(0.js@289)
Unknown._.cb(0.js@476)
Unknown._.ci(0.js@271)
Unknown._.G(0.js@210)
Unknown._.G(0.js@190)
Unknown._.fi(0.js@195)
Unknown._.G(0.js@427)
Unknown.$z(0.js@75)
Unknown.Vqc(0.js@460)
Unknown._.G(0.js@440)
Unknown.$z(0.js@75)
Unknown.Vqc(0.js@460)
Unknown.sT(0.js@26)
Unknown.pAc(0.js@377)
Unknown._.Q(0.js@322)
Unknown.QEc(0.js@129)
Unknown._.Q(0.js@118)
Unknown.cHc(0.js@346)
Unknown._.Q(0.js@151)
Unknown.cHc(0.js@346)
Unknown._.Q(0.js@151)
Unknown.cHc(0.js@346)
Unknown._.Q(0.js@151)
Unknown.p5(0.js@116)
Unknown._.Q(0.js@472)
Unknown._.Ih(0.js@230)
Unknown.eval(0.js@131)
Unknown.eval(0.js@243)
objecthub-io commented 7 years ago

Fixed.

Problem was that when a bundle is split into more than one part, the last bundle part was not stored at all.