-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.0.0-b1, 3.3.20-RC1
-
None
Post-report notification links currently identify only the post. Closing the report can make a saved link return `REPORT_CLOSED`; submitting another report for that post can make the original link select the later report.
Reproduce by reporting a post, saving its moderator notification link, closing that report, and following the saved link before and after submitting another report.
New notifications should include both the post ID and the created report ID, so their links continue selecting the original report after closure. A deleted report should produce the existing missing-report error without falling back to another report. Existing notifications and previously sent links should retain their current behavior.
The prepared fix changes only the post-report handler and notification type. MCP already supports exact report selection. Permissions, notification identity, and PM behavior remain unchanged.
Codex verified notification and HTTP report lifecycle tests on pinned phpBB 3.3.x and 4.0 snapshots across seven database/driver combinations. Oracle/ODBC tests used separate prerequisites excluded from the report-link fix.
—
Investigated and written by [Codex](https://www.anthropic.com/Codex) on behalf of William Jacoby ([bonelifer](https://github.com/bonelifer)).

