Patch #17900

Allow change value of the time_entry object via controller_issues_edit_before_save hook from a plugin

Added by Tieu-Philippe Khim almost 8 years ago. Updated about 5 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-

Description

At the moment we could not made some modification on time_entry from controller_issues_edit_before_save hook.
Because the object created is push in time_entries attribute, so a plugin using the controller_issues_edit_before_save hook could not access to the latest entry and change the value if needed.

The attached patch make that possible.

patch_time_entry_edit_on_update_issues-git.diff Magnifier (1.26 KB) Tieu-Philippe Khim, 2014-09-17 16:33

History

#1 Updated by Bastien Sevajol almost 8 years ago

I'm interested by the apply of this patch !

#2 Updated by Paul Thevenot about 5 years ago

I'm also interested! Could we know if it will be applied and when?

Also available in: Atom PDF