Defect #34921
Do not journalize attachments that are added during a "Copy Issue" operation
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % 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`.
Associated revisions
Do not journalize attachments that are added during a "Copy Issue" operation (#34921).
Patch by Jens Krämer.
History
#1
Updated by Go MAEDA over 1 year 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 over 1 year ago
- Target version changed from 163 to 4.1.3
#3
Updated by Go MAEDA over 1 year 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 over 1 year ago
- Status changed from Resolved to Closed