プロジェクト

全般

プロフィール

Vote #81429

未完了

Issues controller_issues_edit_* hooks not firing on bulk edit actions

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

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

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
35212
author_id:
3959
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
152
ステータス-->[New]

説明

I'm not sure if this was the intended functionality or not, but it seems like a bug to me. We discovered in our installation of redmine 4.2.0.stable that when issues are edited through bulk update actions (right clicking from the issue list) that the following hooks do not trigger:

  • controller_issues_edit_before_save
  • controller_issues_edit_after_save

Upon closer examination of the system, I discovered that the IssueController.bulk_update method does not call the before and after issue.save

This seems like an unintentional oversight, so I'm reporting it here. We fixe the issue by simply editing the method in our copy of the application. But this only fixes the issue for us.

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

いいね!0
いいね!0