Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WebService-Linode CPAN distribution.

Report information
The Basics
Id: 71833
Status: resolved
Priority: 0/
Queue: WebService-Linode

People
Owner: michael [...] thegrebs.com
Requestors: stephon [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: 0.08



Subject: Wrong datatype cause domainGet error
Hello all, I've found that the return datatype in function domainGet(), and it causes the function error by returning the message like "Not A HASH reference". In function domainGet(): return $self->_lc_keys($data); it should return a hash reference, like return $self->_lc_keys(@$data); I have created a patch (in attachment), please fix this bug. Thanks a lot -- stephon
Subject: patch-DNS.pm.txt
--- DNS.pm 2011-10-21 17:18:00.498222000 +0800 +++ DNS-new.pm 2011-10-21 17:16:34.124402000 +0800 @@ -3,6 +3,7 @@ use strict; use warnings; use Carp; use WebService::Linode::Base; @@ -82,7 +83,7 @@ api_action => 'domain.list', domainid => $domainid ); - return $self->_lc_keys($data); + return $self->_lc_keys(@$data); }
Thank you very much for your report. The DNS specific module is deprecated as it's methods are handled by the main module but since you've taken the time to send a patch I'm going to go ahead and include your patch in a new release this weekend. Thank you very much for your assistance. Mike
Fixed in 0.08. Apologies for the delay.