|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 "Show quoted text% 40group.calendar.google.com/private/full/XXXXXXXXXXXXXXXXX" (perhaps you forgot to load " % 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:$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!