Project

General

Profile

Actions

Defect #35212

open

Issues controller_issues_edit_* hooks not firing on bulk edit actions

Added by Shaun Gilroy over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

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.


Files

No data to display

Actions

Also available in: Atom PDF