Skip Menu |

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

Report information
The Basics
Id: 24033
Status: new
Priority: 0/
Queue: WWW-Bugzilla

People
Owner: Nobody in particular
Requestors: alexp [...] transitive.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: WWW::Bugzilla does not return status(), assigned_to() or resolution()
Date: Thu, 21 Dec 2006 10:57:00 +0000
To: bug-WWW-Bugzilla [...] rt.cpan.org
From: Alex Page <alexp [...] transitive.com>
BMC: I e-mailed this bug report to you some time ago, and you asked me to file it here, and I didn't. I am now correcting that. I said: I've been using WWW::Bugzilla 0.8 with Perl 5.8.3 and most things work fine. However, I seem to be unable to recover the status of an existing bug with $bz->status() which always returns "none", and $bz->assigned_to() and $bz->resolution(). Have you heard of any similar issues? $bz->version(), ->priority(), ->summary() and ->severity() all work fine. Sample code: my $bz = WWW::Bugzilla->new ( 'server' => $bugzilla_server, 'email' => $bugzilla_email, 'password' => $bugzilla_password, 'use_ssl' => $bugzilla_ssl, 'bug_number' => $bugzilla_id, ); my $status = $bz->status() || 'N/A'; my $assignee = $bz->assigned_to() || 'N/A'; my $resolution = $bz->resolution() || 'N/A'; print "Bugzilla bug $bugzilla_id: Status - $status; assigned to $assignee; resolution $resolution\n"; Prints: Bugzilla bug 6: Status - none; assigned to N/A; resolution N/A The defect in question has status RESOLVED, resolution FIXED. I have looked at http://rt.cpan.org/Public/Dist/Display.html?Name=www%3A%3Abugzilla but see nothing relevant. You said: Hrm. The unit tests never test those functions. I'll look into this. If you could, please log a bug on rt.cpan.org just so I don't loose track of it. Thanks, Brian Alex
Subject: WWW::Bugzilla bugs?
Date: Thu, 31 Aug 2006 17:50:51 +0100
To: bmc [...] shmoo.com
From: Alex Page <alexp [...] transitive.com>
Hi there, I've been using WWW::Bugzilla 0.8 with Perl 5.8.3 and most things work fine. However, I seem to be unable to recover the status of an existing bug with $bz->status() which always returns "none", and $bz->assigned_to() and $bz->resolution(). Have you heard of any similar issues? $bz->version(), ->priority(), ->summary() and ->severity() all work fine. Sample code: my $bz = WWW::Bugzilla->new ( 'server' => $bugzilla_server, 'email' => $bugzilla_email, 'password' => $bugzilla_password, 'use_ssl' => $bugzilla_ssl, 'bug_number' => $bugzilla_id, ); my $status = $bz->status() || 'N/A'; my $assignee = $bz->assigned_to() || 'N/A'; my $resolution = $bz->resolution() || 'N/A'; print "Bugzilla bug $bugzilla_id: Status - $status; assigned to $assignee; resolution $resolution\n"; Prints: Bugzilla bug 6: Status - none; assigned to N/A; resolution N/A The defect in question has status RESOLVED, resolution FIXED. I have looked at http://rt.cpan.org/Public/Dist/Display.html?Name=www%3A%3Abugzilla but see nothing relevant. Cheers, Alex