When you try to 'marks as read' an un-open subfolder, it shows an error
Open
Nobody has claimed this yet.
1. to develop
bug
papercut
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Expected behavior
No error
Actual behavior
Tell us what happens instead
The error:
POST http://localhost/nextcloud/index.php/apps/mail/api/accounts/1/folders/cXdlci4xMTExMQ%3D%3D/sync 428 (Precondition required)
Could not sync envelopes: Request failed with status code 428 Error: Request failed with status code 428
Mail app
Mail app version: latest
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 the action of marking an unopened subfolder as read and inspect the failing POST request to the Mail app sync endpoint. Trace the handling of the 428 response and confirm the folder is marked as read without an error or failed envelope sync.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100