nextcloud / nextcloud/whiteboard
Images (local uploads and pasted) sometimes fail to load/display correctly on whiteboard.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 215
- Forks
- 39
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 32
Description
Description
Images added to the whiteboard sometimes fail to load or display correctly. This happens with the same account that added the images, as well as with other users opening the whiteboard
Environment
- OS: Ubuntu Server LTS 26.04
- Deployment: Docker, Nextcloud-AIO
Webconsole logs
logger.ts:41 [Sync] Local sync failed: DataCloneError: Failed to execute 'postMessage' on 'Worker': async(e,t,n,a)=>{let i;try{i=await uN()}catch(r){return r.name==="AbortError"||r.name==="NotAllowedError"?!1:(c...<omitted>...}} could not be cloned.
at useSync.ts:139:11
at useSync.ts:429:3
at Object.onChange (App.tsx:454:3)
(anonymous) @ logger.ts:41
(anonymous) @ useSync.ts:142
(anonymous) @ useSync.ts:429
(anonymous) @ App.tsx:454
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing local and pasted image failures on the whiteboard using the reported Docker/Nextcloud-AIO environment, then inspect the sync path in useSync.ts and its caller in App.tsx. Use the logger.ts DataCloneError and the browser console trace as the initial clues. Done means uploaded and pasted images load correctly for both the adding account and other users, without the local sync failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100