This is a hook to add new values to DB_COLUMNS for a particular class.
Created attachment 426389 [details] [diff] [review] v1 Here we go. Unlike with the VALIDATORS hook, you can't modify existing columns. If somebody comes up with an important use case in the future for modifying columns, then we can change the hook, but it seemed safer for now to simply only allow adding new columns. Granting myself review as Extensions module owner. This does touch a few other places, but the changes are very straightforward.
Assignee: extensions → mkanat
Status: NEW → ASSIGNED
Attachment #426389 - Flags: review+
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/Flag.pm modified Bugzilla/Hook.pm modified Bugzilla/Keyword.pm modified Bugzilla/Object.pm modified Bugzilla/Field/Choice.pm modified contrib/console.pl modified extensions/Example/Extension.pm Committed revision 6983.
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.