プロジェクト

全般

プロフィール

Vote #76354

完了

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

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
98
issue_org_id:
19815
author_id:
91473
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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' %>

<%= 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.


journals

Fixed in r14268, thanks for pointing this out.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン2.6.6_98 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0