Project

General

Profile

Actions

Defect #19815

closed

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

Added by Oleg Fedotkin almost 9 years ago. Updated almost 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 #1

Updated by Jean-Philippe Lang almost 9 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.

Actions #2

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF