Defect #34921

Do not journalize attachments that are added during a "Copy Issue" operation

Added by Jens Krämer 30 days ago. Updated 19 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Issues
Target version:4.1.3
Resolution:Fixed Affected version:

Description

When copying an issue, the user can change arbitrary values before saving the copy. It is also possible to add attachments here. Before this patch, such attachments were added to the journal entry that is created to hold the "copied from" relationship change.

Since no other attribute changes are journalized, but only added attachments, we found that to be confusing. The attached patch which has been extracted from Planio prevents that from happening by checking for `copy?` in `Issue#attachment_added`.

0001-fix-issue_copy-do_not_journalize_attachments.patch Magnifier (1.78 KB) Jens Krämer, 2021-03-18 09:47

Associated revisions

Revision 20872
Added by Go MAEDA 19 days ago

Do not journalize attachments that are added during a "Copy Issue" operation (#34921).

Patch by Jens Krämer.

Revision 20873
Added by Go MAEDA 19 days ago

Merged r20872 from trunk to 4.2-stable (#34921).

Revision 20874
Added by Go MAEDA 19 days ago

Merged r20872 from trunk to 4.1-stable (#34921).

History

#1 Updated by Go MAEDA 20 days ago

  • Tracker changed from Patch to Defect
  • Status changed from New to Confirmed
  • Target version set to 163

Setting the target version to 4.0.9.

#2 Updated by Go MAEDA 20 days ago

  • Target version changed from 163 to 4.1.3

#3 Updated by Go MAEDA 19 days ago

  • Subject changed from do not journalize attachments that are added during an "Copy Issue" operation to Do not journalize attachments that are added during a "Copy Issue" operation
  • Status changed from Confirmed to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix. Thank you.

#4 Updated by Go MAEDA 19 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF