Skip to content

[Bug]: Cant save note with ~22k lines #10

@scolastico

Description

@scolastico

Which project is this issue related to?

@not3/ui

Version

2.0.1

Describe the bug

Cant save realy big notes.

Steps to reproduce

save note with ~2639071 bytes (22k lines) sql dump

Expected behavior

Saving the note, in case of error also showing message, currently only console.error seems to be used.

Error stacktrace (if applicable)

Uncaught (in promise) RangeError: too many function arguments
    NuxtJS 45
        buf2base
        encryptString
        encrypt
        saveEncryptedNote
        A
        onClick
        n
        onClick
        er
        nt
        n
        Wt
        md
        Sd
        k
        b
        w
        L
        O
        w
        L
        k
        b
        w
        L
        k
        b
        w
        $
        run
        runIfDirty
        er
        oc
        promise callback*sc
        Ro
        scheduler
        trigger
        wo
        notify
        trigger
        set value
        0
        er
        nt
        n
[BmWXuyZq.js:7:34297](https://not-th.re/_nuxt/BmWXuyZq.js)

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsdkui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions