Bugzilla::Object->set() protection
Max Kanat-Alexander
mkanat at bugzilla.org
Tue May 4 21:59:53 UTC 2010
On 05/04/2010 08:00 AM, Gervase Markham wrote:
> Bugzilla::Object->set() is protected from being called from outside
> objects which inherit from Bugzilla::Object:
>
> # This method is protected. It's used to help implement set_ functions.
> caller->isa('Bugzilla::Object')
> || ThrowCodeError('protection_violation',
In Bugzilla 3.8 and above, it can also be called in subclasses of
Bugzilla::Extension. (I ran into the same problem as you did.)
-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
More information about the developers
mailing list