Erro "OCA\Deck\BadRequestException: userId must be provided and must be not empty"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
Describe the bug
Sometimes users observe that modifications in cards are not saved. And in logs I found that :
OCA\Deck\BadRequestException: userId must be provided and must be not empty
To Reproduce
For now, as it does not happen to me, I have not the exact scenario. I suspect that happens when people make modifications in a Deck page that's opened since a long time.
Expected behavior
Modifications saved.
Client details:
- OS: MacOS et Windows 11.
- Browser : Chrome & Safari.
- NC version : 27.0.2
- Deck app version : 1.10.0
Operating system:
Debian Bullseye
Web server:
Apache2 + nginx reverse proxy
Database:
MySQL
PHP version:
8.2.8
Nextcloud version:
27.0.2
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
No source file or test is identified in the report. Start by reproducing edits on a Deck page left open for a long time and trace the request that produces the userId BadRequestException. Done means card modifications are saved without that error in the reported Nextcloud and Deck versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100