Skip Menu |

This queue is for tickets about the Flickr-API CPAN distribution.

Report information
The Basics
Id: 40074
Status: resolved
Priority: 0/
Queue: Flickr-API

People
Owner: Nobody in particular
Requestors: GWOLF [...] cpan.org
Cc:
AdminCc:

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



Hi, I am forwarding you the Debian bug report #502312: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502312 The submitter tagged this bug as important, as it renders the package unusable. The full report follows: When the execute_request function parses the XML response from Flickr, it calls the function _find_tag which checks for tags of type 'element' whereas it should be checking for type 'tag'. The following diff fixes the problem: --- Flickr.old/API.pm 2008-10-15 15:21:20.000000000 +0100 +++ Flickr.new/API.pm 2008-10-15 15:21:35.000000000 +0100 @@ -135,7 +135,7 @@ sub _find_tag { my ($self, $children) = @_; for my $child(@{$children}){ - return $child if $child->{type} eq 'element'; + return $child if $child->{type} eq 'tag'; } return {}; }
fixed in 1.02 - was requiring the wrong version of XML::Parser::Lite::Tree