Closed Bug 525426 Opened 16 years ago Closed 15 years ago

Hook: object-before_set

Categories

(Bugzilla :: Bugzilla-General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: mkanat, Assigned: mkanat)

Details

(Whiteboard: [es-ita])

Attachments

(1 file)

Attached patch v1Splinter Review
This is a hook for Object::set. This allows people to do all sorts of interesting things before setting values. (In my case, I'm going to use it to update the validators before they get used.)
Attachment #409305 - Flags: review?(dkl)
Whiteboard: [es-ita]
Comment on attachment 409305 [details] [diff] [review] v1 Looks good and my test case works as expected. r=dkl
Attachment #409305 - Flags: review?(dkl) → review+
Flags: approval?
Flags: approval? → approval+
Checking in Bugzilla/Hook.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Hook.pm,v <-- Hook.pm new revision: 1.37; previous revision: 1.36 done Checking in Bugzilla/Object.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Object.pm,v <-- Object.pm new revision: 1.40; previous revision: 1.39 done RCS file: /cvsroot/mozilla/webtools/bugzilla/extensions/example/code/object-before_set.pl,v done Checking in extensions/example/code/object-before_set.pl; /cvsroot/mozilla/webtools/bugzilla/extensions/example/code/object-before_set.pl,v <-- object-before_set.pl initial revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: