Project

General

Profile

Actions

Defect #34921

closed

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

Added by Jens Krämer over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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`.


Files

Actions

Also available in: Atom PDF