Skip to content

Fix Reminder E-Mail only contains last issue link after Update to 2.30#19

Open
pattyland wants to merge 1 commit into
mantisbt-plugins:masterfrom
pattyland:patch-1
Open

Fix Reminder E-Mail only contains last issue link after Update to 2.30#19
pattyland wants to merge 1 commit into
mantisbt-plugins:masterfrom
pattyland:patch-1

Conversation

@pattyland
Copy link
Copy Markdown

@pattyland pattyland commented Mar 18, 2025

Summary

Fixes a regression introduced in v2.30 where grouped reminder emails only contained the last issue link instead of all matching issues.

The issue list was overwritten while building the grouped email body. This PR changes the affected assignments back to append operations so that all issue entries are preserved in the generated reminder email.

Problem

After updating to v2.30, reminder emails sent by the plugin may miss multiple issue links. Although bug_reminder_mail_test.php can still show the expected output, the actually sent grouped reminder emails only include the last issue for each recipient/group.

Fix

  • Append issue entries to $list instead of overwriting the existing list.
  • Preserve all matching issues before sending the grouped reminder email.
  • Fix grouped reminder output for both detailed entries and plain issue URLs.

Related issue

Fixes #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reminder E-Mail only contains last issue link after Update to 2.30

1 participant