Skip Menu |

This queue is for tickets about the WWW-Bugzilla CPAN distribution.

Report information
The Basics
Id: 13262
Status: resolved
Worked: 2 min
Priority: 0/
Queue: WWW-Bugzilla

People
Owner: bmc [...] shmoo.com
Requestors: at [...] altlinux.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.4
  • 0.5
Fixed in: (no value)



Subject: Can't locate object method "use_ssl" via package "WWW::Bugzilla"
Hello, I've got Class-MethodMaker-2.07. When I try to establish connection to bugzilla with WWW::Bugzilla, I get the following error: Can't locate object method "use_ssl" via package "WWW::Bugzilla" at blib/lib/Class/MethodMaker/Engine.pm (autosplit into blib/lib/auto/Class/MethodMaker/Engine/new.al) line 941, <> line 1. The attached patch fixes the problem for me. -- Alexey Tourbin ALT Linux Team
--- WWW-Bugzilla-0.4/Bugzilla.pm- 2004-03-22 12:22:35 +0000 +++ WWW-Bugzilla-0.4/Bugzilla.pm 2005-06-14 13:48:40 +0000 @@ -207,7 +207,7 @@ sub init { $self->{mech} = WWW::Mechanize->new(); - $self->{protocol} = $args{use_ssl} ? 'https' : 'http'; + $self->{protocol} = delete($args{use_ssl}) ? 'https' : 'http'; $self->{server} = $args{server}; $self->_login( delete $args{server}, delete $args{email}, delete $args{password});
Show quoted text
> The attached patch fixes the problem for me.
Yeap, this is a bug. will be fixed in the next release. Thanks!
From: jpo [...] di.uminho.pt
Problem also/still present in version 0.6. Would it also be possible to add to the main POD page a note about use_ssl requiring the module Crypt::SSLeay? tia, jpo
On Sat Jun 10 19:08:02 2006, guest wrote: Show quoted text
> Problem also/still present in version 0.6.
I should have been a bit more clear in my previous message. 0.6 was already released when I wrote that. 0.7 is on its way up to CPAN as we speak. If you need it sooner than that, you can temporarily download it from: http://www.shmoo.com/~bmc/software/bugzilla/WWW-Bugzilla-0.7.tar.gz Show quoted text
> Would it also be possible to add to the main POD page a note about > use_ssl requiring the module Crypt::SSLeay?
Yes, this is in 0.7 too.
From: jpo [...] di.uminho.pt
On Sat Jun 10 22:04:57 2006, BMC wrote: [SNIP] Show quoted text
> 0.7 is on its way up to CPAN as we speak. If you need it > sooner than that, you can > temporarily download it from: > > http://www.shmoo.com/~bmc/software/bugzilla/WWW-Bugzilla-0.7.tar.gz >
> > Would it also be possible to add to the main POD page a note about > > use_ssl requiring the module Crypt::SSLeay?
> > Yes, this is in 0.7 too.
Brian, Thanks for the new release. jpo