Skip Menu |

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

Report information
The Basics
Id: 42169
Status: resolved
Priority: 0/
Queue: WebService-MusicBrainz

People
Owner: bfaist [...] cpan.org
Requestors: email [...] pbryan.net
Cc:
AdminCc:

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



Subject: WebService::MusicBrainz::Track search with INC=>'puids' dies with error
The attached Perl script is basically a direct example from the CPAN WebService::MusicBrainz::Track page at [1]. When INC includes 'puids', the following error message is displayed: Can't call method "getAttribute" on an undefined value at /usr/share/perl5/WebService/MusicBrainz/Response.pm line 731. When INC is omitted, or contains different objects (e.g. 'artist releases') without 'puids', this error does not occur. As soon as 'puids' is added back, the same error message is returned. [1] http://search.cpan.org/~bfaist/WebService-MusicBrainz/lib/WebService MusicBrainz/Track.pm
Subject: test.pl
#!/usr/bin/perl use WebService::MusicBrainz::Track; my $ws = WebService::MusicBrainz::Track->new(); my $response = $ws->search({ MBID=>'bd08eddf-b811-4653-b56b-892292c291bc', INC=>'puids' });
Fixed in version 0.20. Thanks for the feedback. Bob Faist