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 }}
Repository navigation
Text Editor crashes on Spaces overview for users without personal space #1799
Clicking "Text Editor" from the application menu while on the Spaces overview page (/files/spaces/projects) throws a JavaScript error for users without a personal space ("light users").
The error occurs because webDavPath is undefined when not inside a specific space.
Reproduction Steps
Create a user without personal space (light user)
Log in as that user
Navigate to Spaces overview: /files/spaces/projects
Open the application menu (grid icon top-left)
Click "Text Editor"
Works correctly when inside a space (e.g., /files/spaces/project/my-space?fileId=...)
Expected Outcome
Either:
The "Text Editor" menu item should be disabled/hidden when not inside a space
A helpful message should explain that you need to open a space first
The error should be handled gracefully
Actual Outcome
JavaScript error in browser console:
TypeError: undefined is not an object (evaluating 't.webDavPath')
at — index.html-BcI0A6TG.mjs:2:42334
listFiles — index.html-BcI0A6TG.mjs:2:45031
listFiles — index.html-BcI0A6TG.mjs:2:45369
(anonymous function) — useOpenEmptyEditor-CfOosvfZ.mjs:1:600
openEmptyEditor — useOpenEmptyEditor-CfOosvfZ.mjs:1:817
Activity