[scmbug-users] Re: SCMBUG and Bugzilla 3.1.3

Kristis Makris kristis.makris at asu.edu
Mon May 5 01:39:17 UTC 2008


Hi Bugzilla devs,

On Sun, 2008-05-04 at 21:52 +0200, Markus M. May wrote:
> After putting in some debug-statements, I get the follwoing errors:
> 
> Can't locate object method "dbh" via package "Bugzilla" at  
> /usr/share/perl5/Bugzilla/User.pm line 1664, <STDIN> line 34.
> 
> 
> These are now Bugzilla specific. I don't see any sense in this, since  
> I thought that /var/www/bugzilla31 is used ????

Scmbug calls at some point:

my $userid = Bugzilla::User::login_to_id( $username );

... but it does *not* call before that:

use Bugzilla;

Is this an error in User.pm ? Does User.pm expect the Bugzilla package
is loaded and is unable to find the Bugzilla::dbh() method because
Scmbug did not load Bugzilla.pm ?

-------------- 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/20080504/1fd7aa2e/attachment.sig>


More information about the developers mailing list