bug_end_of_update hook should also send the old_bug

RESOLVED FIXED in Bugzilla 3.6

Status

()

Bugzilla
Extensions
--
enhancement
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Max Kanat-Alexander, Assigned: Max Kanat-Alexander)

Tracking

Bugzilla 3.6
Bug Flags:
approval +
approval3.6 +

Details

Attachments

(1 attachment)

v1
2.45 KB, patch
Max Kanat-Alexander
: review+
Details | Diff | Splinter Review
(Assignee)

Description

8 years ago
object_end_of_update sends the old_object, but bug_end_of_update doesn't send the old_bug to the hook.
(Assignee)

Comment 1

8 years ago
Created attachment 436668 [details] [diff] [review]
v1

  It's true that for most things, people could simply use $changes, but this is a bit simpler in some cases (one that I'm working on now in particular).
Assignee: extensions → mkanat
Status: NEW → ASSIGNED
Attachment #436668 - Flags: review+
(Assignee)

Updated

8 years ago
Flags: approval3.6+
Flags: approval+
(Assignee)

Comment 2

8 years ago
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Bug.pm
modified Bugzilla/Hook.pm
modified extensions/Example/Extension.pm
Committed revision 7110.

Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/
modified Bugzilla/Bug.pm
modified Bugzilla/Hook.pm
modified extensions/Example/Extension.pm
Committed revision 7069.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.