Closed
Bug 545551
Opened 14 years ago
Closed 14 years ago
Hook: object_update_columns
Categories
(Bugzilla :: Extensions, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file)
2.63 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
We need a hook to modify UPDATE_COLUMNS for Bugzilla::Object. The only reason that we need a separate hook from DB_COLUMNS is that it's possible that object_columns could be returning some sort of crazy SQL with an alias, and you can't use that in UPDATE_COLUMNS.
Assignee | ||
Comment 1•14 years ago
|
||
Also important to have a separate hook because UPDATE_COLUMNS is called on an instantiated object, and in at least one subclass (Bugzilla::Bug), that matters, currently.
Assignee | ||
Comment 2•14 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Hook.pm modified Bugzilla/Object.pm modified extensions/Example/Extension.pm Committed revision 6984.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Flags: approval+
You need to log in
before you can comment on or make changes to this bug.
Description
•