Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Google-Voice CPAN distribution.

Report information
The Basics
Id: 69290
Status: new
Priority: 0/
Queue: Google-Voice

Owner: Nobody in particular
Requestors: graham [...]

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

Subject: Failure on polling VM with Unknown CallerID
Date: Tue, 5 Jul 2011 16:38:10 +0000
To: "bug-Google-Voice [...]" <bug-Google-Voice [...]>
From: Graham Forest <graham [...]>
Download (untitled) / with headers
text/plain 889b
If Google::Voice->voicemail is called, and there is currently a message in the account's inbox with Unknown CallerID, dies at line 32 due to the ->text method being called on an undefined value ($xml->at('.gc-messages-name-link') returns undef). I fixed it for my purposes on my local copy with the following, but this leaves the CallerID name in a funny state: --- 2011-07-02 15:33:10.000000000 -0700 +++ 2011-07-02 15:49:42.000000000 -0700 @@ -27,9 +27,11 @@ my $rnr_se = shift; my $ua = shift; + my $name = $xml->at('.gc-message-name-link') || "Unknown"; + $self->xml($xml); $self->id($xml->attrs->{id}); - $self->name($xml->at('.gc-message-name-link')->text); + $self->name($name); $self->meta($meta->{messages}->{$self->id}); $self->type(FEED_TYPE->{$self->meta->{type}}); Thanks, Graham Forest

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to