Skip Menu |

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

Report information
The Basics
Id: 33712
Status: stalled
Priority: 0/
Queue: Net-Google-Calendar

People
Owner: PLYTLE [...] cpan.org
Requestors: dlitster [...] clusterresources.com
Cc:
AdminCc:

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



Subject: Workaround for bug 32731
Date: Fri, 29 Feb 2008 11:16:54 -0700
To: bug-Net-Google-Calendar [...] rt.cpan.org
From: David Litster <dlitster [...] clusterresources.com>
Confirmed deletion bug using Net::Google::Calendar to delete an event that already exists. Perl: v5.8.8 on Ubuntu 7.10 Error Message: Can't locate object method "as_xml" via package "http://www.google.com/calendar/feeds/XXXXXXXXXXXXXXXXXXXXXXXXXXX% 40group.calendar.google.com/private/full/XXXXXXXXXXXXXXXXX" (perhaps you forgot to load "http://www.google.com/calendar/feeds/XXXXXXXXXXXXXXXXXXXXXXXXXX% 40group.calendar.google.com/private/full/XXXXXXXXXXXXXXXXXXXXXXXX"?) at /usr/local/share/perl/5.8.8/Net/Google/Calendar.pm line 657. Workaround: Add an extra parameter to delete_entry() Show quoted text
>From the example on:
http://search.cpan.org/~simonw/Net-Google-Calendar-0.3/lib/Net/Google/Calendar.pm#delete_entry_%3CNet::Google::Calendar::Entry%3E $cal->delete_entry($tmp) || die "Couldn't delete ".$tmp->id.": $@\n"; can be called as: $cal->delete_entry($tmp, 1) and it works. I am guessing that my $force = pop @_ || 0; my $url = $entry->edit_url($force) || return undef; on line 492 in delete_entry() is borking it, but I'm no expert. Thanks for this great module!
This appears to be fixed - can you confirm? Thanks. On Fri Feb 29 13:16:54 2008, dlitster@clusterresources.com wrote: Show quoted text
> Confirmed deletion bug using Net::Google::Calendar to delete an event > that already exists. > > Perl: v5.8.8 on Ubuntu 7.10 > > Error Message: > Can't locate object method "as_xml" via package > "http://www.google.com/calendar/feeds/XXXXXXXXXXXXXXXXXXXXXXXXXXX% > 40group.calendar.google.com/private/full/XXXXXXXXXXXXXXXXX" (perhaps > you > forgot to load > "http://www.google.com/calendar/feeds/XXXXXXXXXXXXXXXXXXXXXXXXXX% > 40group.calendar.google.com/private/full/XXXXXXXXXXXXXXXXXXXXXXXX"?) > at /usr/local/share/perl/5.8.8/Net/Google/Calendar.pm line 657. > > Workaround: Add an extra parameter to delete_entry() >
> >From the example on:
> http://search.cpan.org/~simonw/Net-Google-Calendar- >
0.3/lib/Net/Google/Calendar.pm#delete_entry_%3CNet::Google::Calendar::En try%3E Show quoted text
> > $cal->delete_entry($tmp) || die "Couldn't delete ".$tmp->id.": $@\n"; > > can be called as: > $cal->delete_entry($tmp, 1) > and it works. > > I am guessing that > > my $force = pop @_ || 0; > my $url = $entry->edit_url($force) || return undef; > > on line 492 in delete_entry() is borking it, but I'm no expert. > > Thanks for this great module! > >