nextcloud / nextcloud/mail

Account ID not replaced in background job error log

Open
#8,362 0 comments 0 reactions 0 assignees View on GitHub

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
  1. Have an account that can't be synchronized
  2. Run background jobs (cron.php)
Expected behavior

"Cron mail sync failed for account 45"

Actual behavior

"Cron mail sync failed for account {accountId}"

Bildschirmfoto vom 2023-04-12 15-21-15

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.