MantisBT: master afdfc64c

Author Committer Branch Timestamp Parent
dregad dregad master 2026-11-15 19:09 master 1de22524
Affected Issues  0037027: Clone Issue Copies Hidden Private-Note Attachments Into a Visible Child Issue
Changeset

Only copy visible bugnotes when cloning issue

  • From bug_report.php (IssueAddCommand)
  • via bug_actiongroup.php (bug_copy() function)

Instead of executing SQL statements:

  • Call bugnote_get_all_visible_bugnotes() to retrieve the notes to copy
  • Use new bugnote_copy() function to copy them (including attachments)

Fixes 0037027

mod - core/bug_api.php Diff File
mod - core/commands/IssueAddCommand.php Diff File