Open CelianGdfrd opened 3 weeks ago
We're going to need more information since this isn't readily reproducible.
Please open your browser inspector and monitor the Network tab as well as the Console while reproducing the problem.
When did this behavior start?
I observe issues with window.OCA.text
Uncaught (in promise) TypeError: window.OCA.Text is undefined
loadTextEditor NoteRich.vue:89
fetchData NoteRich.vue:79
mounted NoteRich.vue:56
VueJS 18
setSettings app.js:16
_ vuex.esm.js:844
commit vuex.esm.js:466
commit vuex.esm.js:465
_withCommit vuex.esm.js:624
commit vuex.esm.js:464
commit vuex.esm.js:409
g NotesService.js:84
promise callback*g NotesService.js:83
loadNotes App.vue:129
created App.vue:119
VueJS 17
<anonymous> main.js:12
<anonymous> main.js:16
<anonymous> main.js:16
[NoteRich.vue:89](webpack:///notes/src/components/NoteRich.vue)
fetchData NoteRich.vue:79
AsyncFunctionThrow self-hosted:811
(Async: async)
mounted NoteRich.vue:56
VueJS 18
setSettings app.js:16
_ vuex.esm.js:844
commit vuex.esm.js:466
forEach self-hosted:160
commit vuex.esm.js:465
_withCommit vuex.esm.js:624
commit vuex.esm.js:464
commit vuex.esm.js:409
g NotesService.js:84
(Async: promise callback)
g NotesService.js:83
loadNotes App.vue:129
created App.vue:119
VueJS 17
<anonym> main.js:12
<anonym> main.js:16
<anonym> main.js:16
I observe the same error in my logs.
When did this problem start?
Any errors on the Network tab when reloading the page and reproducing the problem?
Also please check Admin settings->Overview for any errors or warnings.
I first witnessed it just before posting this -- but then again, I don't use the web viewer that much.
Nothing in the Network tab or in logs.
When did this problem start?
Any errors on the Network tab when reloading the page and reproducing the problem?
Also please check Admin settings->Overview for any errors or warnings.
For me these errors started appearing when I did the upgrade to the very latest Nextcloud stable release
No other errors present in the instance, neither in the network tab nor system logs.
@joshtrichards Any specific logs you would like to see, not covered by the network tab or Admin settings->Overview?
Uncaught (in promise) TypeError: window.OCA.Text is undefined
Are you able to create/edit markdown files using the Text app outside of Notes? e.g. via Files in the Web UI?
Please take a close look at the Network tab in your browser then do a full refresh/reload of the problematic page.
I got the same issue after the upgrade : "Uncaught (in promise) TypeError: window.OCA.Text is undefined" Finally I found a trick to fix it : go to "Notes settings" then click on "display mode" and select "open in edition mode" On my side, the display mode was empty, maybe that can explain why I wasn't able to display the notes in the browser.
Selecting an option in "Notes settings" does indeed work, I haven't yet checked whether editing outside of Notes works though
Finally I found a trick to fix it : go to "Notes settings" then click on "display mode" and select "open in edition mode" On my side, the display mode was empty, maybe that can explain why I wasn't able to display the notes in the browser.
If you then set it to "Open in rich text mode" does it continue to function?
Do you perhaps not have the text
app installed?
If you then set it to "Open in rich text mode" does it continue to function?
Do you perhaps not have the
text
app installed?
Yes, it works. I guess after the Note upgrade the setting was empty.
Dear @CelianGdfrd,
Thanks for your report! Please check "Text" app too, and if app will be enabled and this will solve your problem, please close the issue. Otherwise will will have a look deeper.
Steps to reproduce
Expected behaviour
Note should open and be editable.
Actual behaviour
Note loading takes forever, impossible to access content.
Server
Please complete the following information.
Nextcloud configuration:
Client
Please complete the following information.
Log files
Add relevant parts of your
nextcloud.log
and/or your browser's JavaScript console here.