Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the JIRA-Client CPAN distribution.

Report information
The Basics
Id: 61214
Status: resolved
Priority: 0/
Queue: JIRA-Client

People
Owner: Nobody in particular
Requestors: KBeal [...] crosscountry-auto.com
Cc:
AdminCc:

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



Subject: Reporting a bug, and a patch to fix it: _convert_resolution() issue
Date: Thu, 9 Sep 2010 14:30:08 -0400
To: <bug-JIRA-Client [...] rt.cpan.org>
From: "Ken Beal" <KBeal [...] crosscountry-auto.com>
Hi, Thank you so much for this module! It has made life easier here. I've found an issue and corrected it in our local Perl module, and wanted to report it back upstream. The issue is in the sub _convert_resolution(), the fix is to change "{name}" to "{id}". Below is the new code (with a "BUGBUG" comment showing the line I changed, which you could remove): sub _convert_resolution { my ($self, $hash) = @_; my $resolution = $hash->{resolution}; if ($resolution =~ /\D/) { my $resolutions = $self->get_resolutions(); croak "There is no resolution called '$resolution'.\n" unless exists $resolutions->{$resolution}; $hash->{resolution} = $resolutions->{$resolution}{id}; # BUGBUG changed {name} to {id} } return; } Sincerely, -- Ken Beal Senior Software Engineer, Build/Release Cross Country Automotive Services One Cabot Road Medford, MA 02155 p: (781) 306-3605 m: (978) 423-8977 e: kbeal@crosscountry-auto.com <mailto:kbeal@crosscountry-auto.com> Confidentiality Note: This e-mail message and any attachments may contain confidential or privileged information. If you are not the intended recipient, please notify me immediately by replying to this message and destroy all copies of this message and any attachments. Thank you.
Ken, I just released version 0.25 which includes your fix. Thanks! Gustavo.