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

TypeError when pasting an image from clipboard #257

Open
rolandogdp opened this issue Oct 31, 2024 · 0 comments
Open

TypeError when pasting an image from clipboard #257

rolandogdp opened this issue Oct 31, 2024 · 0 comments

Comments

@rolandogdp
Copy link

rolandogdp commented Oct 31, 2024

When pasting and image from my clipboard to the whiteboard it appeared for a few seconds before informing me that the backend was not reachable. The screenshot was taken using the system default screenshot tool and only copied to the clipboard. Then pasted directly in the whiteboard.

When looking at the whiteboard container we can see it had an error and crashed. On restart of the container all data done during the seesion (1h+) was lost and restored to the state before begining.

The instance is running the container image Nextcloud :30.0.1, the whiteboard container is running the ghcr.io/nextcloud-releases/whiteboard:release
OS / Architecture: linux / amd64

Client is Firefox 132.0 (64-bit), Mozilla Firefox for Arch Linux, archlinux - 1.0. Running on Endeavour OS, KDE under Wayland.

Here are the relevant last lines of the container logs when the crash occurred:

[2145446] Disposing room

[2145446] Saving room data to server: 7 elements, 0 files

[2145446] K6QFAsUY3zr-x2s2AAAH added image 72a9af5eea558f4a6aecccae1eb9afd509185bc9

file:///app/websocket_server/SocketManager.js:252

		room.addFile(id, data)

		     ^

TypeError: Cannot read properties of undefined (reading 'addFile')

    at SocketManager.imageAddHandler (file:///app/websocket_server/SocketManager.js:252:8)

    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Node.js v22.9.0

npm notice

npm notice New minor version of npm available! 10.8.3 -> 10.9.0

npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0

npm notice To update run: npm install -g [email protected]

npm notice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant