[Fwd: Re: [scmbug-users] Error on changing status of bugs with Bugzilla 3.4.x]

Kristis Makris mkgnu at mkgnu.net
Sun Apr 18 16:24:52 UTC 2010


Max thanks for spending time on this.

I believe my question boils down to:

> 	my $user = eval { Bugzilla::User->check($username) };

1. Does the check() call return a value we could test for error (rather
than parse an error message string), and
2. How can we avoid the scmbug process calling check() from dieing ?

You mentioned Bugzilla->error_mode(ERROR_MODE_DIE). That sounds like it
would lead the process to die. What is the "normal" error mode in which
the call to check() won't die, if there is one ?


From a design standpoint, I am not convinced that "eval" needs to be
part of the call to check(). But, if that's the state of things we'll
have to live with it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20100418/d4d46fdd/attachment.sig>


More information about the developers mailing list