Hook: object-before_set

RESOLVED FIXED in Bugzilla 3.6

Status

()

Bugzilla
Bugzilla-General
--
enhancement
RESOLVED FIXED
9 years ago
9 years ago

People

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

Tracking

unspecified
Bugzilla 3.6
Bug Flags:
approval +

Details

(Whiteboard: [es-ita])

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
Created attachment 409305 [details] [diff] [review]
v1

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)
(Assignee)

Updated

9 years ago
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+

Updated

9 years ago
Flags: approval?
(Assignee)

Updated

9 years ago
Flags: approval? → approval+
(Assignee)

Comment 2

9 years ago
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
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.