Account ID not replaced in background job error log
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Have an account that can't be synchronized
- Run background jobs (cron.php)
Expected behavior
"Cron mail sync failed for account 45"
Actual behavior
"Cron mail sync failed for account {accountId}"

Mail app version
2.2
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Web server
None
Database
None
Additional info
No response
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 with the background-job path invoked by cron.php and locate the log message for failed mail synchronization. Trace how the account identifier is passed into that message, then run the relevant background-job or mail-sync tests if present. Done means the log contains the actual account ID, such as 45, instead of the literal {accountId} placeholder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100