Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Uncaught (in promise) TypeError: t is undefined" after updating to nextcloud 28.0.3 and latest notes #1259

Closed
HolgerHees opened this issue Mar 27, 2024 · 5 comments
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced

Comments

@HolgerHees
Copy link
Contributor

HolgerHees commented Mar 27, 2024

Environment:

  • nextcloud 28.0.3
  • notes (latest version)
  • firefox 124

After updating to the latest version I get the trace at the end (TRACE 1).

After that, the ui is not useable anymore. e.g. if I click on new note, nothing happens with a lot more exceptions.

For me it looks like a timing problem, because it does not happen always.

(TRACE 1)

09:12:53.929 Uncaught (in promise) TypeError: t is undefined
    render editor.js:77
    createEditor editor.js:234
    loadTextEditor NoteRich.vue:89
    fetchData NoteRich.vue:79
    created NoteRich.vue:56
    VueJS 28
editor.js:77:2
    fetchData NoteRich.vue:79
    AsyncFunctionThrow self-hosted:857
    (Async: async)
    created NoteRich.vue:56
    VueJS 69
    init vue-router.esm.js:3005
    forEach self-hosted:203
    init vue-router.esm.js:3004
    updateRoute vue-router.esm.js:2414
    transitionTo vue-router.esm.js:2263
    confirmTransition vue-router.esm.js:2402
    r vue-router.esm.js:2084
    r vue-router.esm.js:2091
    Dt vue-router.esm.js:2095
    confirmTransition vue-router.esm.js:2396
    r vue-router.esm.js:2084
    r vue-router.esm.js:2088
    p vue-router.esm.js:2384
    h vue-router.esm.js:2162
    p vue-router.esm.js:2362
    r vue-router.esm.js:2087
    r vue-router.esm.js:2091
    r vue-router.esm.js:2091
    Dt vue-router.esm.js:2095
    confirmTransition vue-router.esm.js:2392
    transitionTo vue-router.esm.js:2260
    push vue-router.esm.js:2606
    push vue-router.esm.js:3036
    push vue-router.esm.js:3035
    routeToNote App.vue:215
    routeDefault App.vue:194
    loadNotes App.vue:137
    (Async: promise callback)
    loadNotes App.vue:130
    created App.vue:119
    VueJS 17
    <anonym> main.js:12
    <anonym> main.js:16
    <anonym> main.js:16
@HolgerHees
Copy link
Contributor Author

here comes a small update.

If I open any other app (like the files app) and open afterwards the notes app, the bug is 100% reproducible

If I reload the notes app by pressing the browser reload button the bug does not happen

@arnowelzel
Copy link

I can reproduce this with NC 28.0.4 and Notes 4.9.4:

image

@HolgerHees
Copy link
Contributor Author

I created a fix for it, but have not got any feedback since a month.

@arnowelzel I'm not sure if your bug is the same. The error trace looks different.

@arnowelzel
Copy link

I created a fix for it, but have not got any feedback since a month.

@arnowelzel I'm not sure if your bug is the same. The error trace looks different.

Thanks for the fix @HolgerHees. Yes you're right, my trace looks different. I just did not realize this in the first place. We'll see.

@HolgerHees
Copy link
Contributor Author

my fix is merged right now and will be available with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced
Projects
None yet
Development

No branches or pull requests

2 participants