Bulk issue copy copies subtasks and attachments even if option is unchecked
|Assignee:||Jean-Philippe Lang||% Done:|
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' >
<label for='copy_subtasks'><= l(:label_copy_subtasks) ></label>
<= check_box_tag 'copy_subtasks', '1', false %>
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.
Fixed that copying issues always copy subtasks and attachments even if option is unchecked (#11787).
#1 Updated by Jean-Philippe Lang about 7 years ago
- Subject changed from Bug in issues_controller#bulk_edit to Bulk issue copy copies subtasks and attachments even if option is unchecked
- Category set to Issues
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 2.6.6
- Resolution set to Fixed
Fixed in r14268, thanks for pointing this out.