Project

General

Profile

Actions

Defect #19815

closed

Bulk issue copy copies subtasks and attachments even if option is unchecked

Added by Oleg Fedotkin over 9 years ago. Updated over 9 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When I'm bulk editing issues, doesn't matter if I checked "copy subtasks" checkbox, they will be copied anyway. I guess it's because

<%= hidden_field_tag 'copy_subtasks', '0' >
<p>
<label for='copy_subtasks'><
= l(:label_copy_subtasks) ></label>
<
= check_box_tag 'copy_subtasks', '1', false %>
</p>

Form passes copy_subtasks parameter anyway. And in controller there's "present" check on copy_subtasks param. But both '0' and '1' value are present.

Actions

Also available in: Atom PDF