You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
The order of applications in the config.json apps should not be important #2891
I was adding the default apps to ocis and stubled over
core.bundle.js:13 TypeError: Cannot read property '0' of undefined
at redirect (core.bundle.js:110)
at a (core.bundle.js:110)
at u (core.bundle.js:110)
at Object.s [as match] (core.bundle.js:110)
at Le.match (core.bundle.js:110)
at e.pe.transitionTo (core.bundle.js:110)
at Le.init (core.bundle.js:110)
at Mn.beforeCreate (core.bundle.js:110)
at Bt (core.bundle.js:13)
at tn (core.bundle.js:13)
core.bundle.js:13 TypeError: Cannot read property 'meta' of undefined
at showHeader (core.bundle.js:105)
at dn.get (core.bundle.js:13)
at dn.evaluate (core.bundle.js:13)
at s.showHeader (core.bundle.js:13)
at s.<anonymous> (core.bundle.js:105)
at s.t._render (core.bundle.js:13)
at s.r (core.bundle.js:13)
at dn.get (core.bundle.js:13)
at new dn (core.bundle.js:13)
at core.bundle.js:13
I tried the different apps and left out draw-io, which was first in the list. Trying to reproduce this I can recreate the above error after logging in, resulting in a WSOD using PHOENIX_WEB_CONFIG_APPS="draw-io,files" bin/ocis server
Reversing the order (or maybe putting files first) resolves the problem PHOENIX_WEB_CONFIG_APPS="files,draw-io" bin/ocis server
ocis renders the config.json dynamically and we want to return different apps, based on the users role / permissions. We can try to get the order right on the server, or phoenix extensions learn dependencies ... shudder
For now, I'll update the defaults in ocis-phoenix.
Activity
files must be loaded before draw io
kulmann commentedon Mar 8, 2022
This has been solved in #5752