Closed Bug 545541 Opened 15 years ago Closed 15 years ago

New Hook: object_columns

Categories

(Bugzilla :: Extensions, enhancement)

3.5.3
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file)

This is a hook to add new values to DB_COLUMNS for a particular class.
Attached patch v1Splinter Review
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
Closed: 15 years ago
Flags: approval+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: