Skip Menu |

This queue is for tickets about the Data-ICal CPAN distribution.

Report information
The Basics
Id: 84102
Status: resolved
Priority: 0/
Queue: Data-ICal

People
Owner: Nobody in particular
Requestors: bryandaimler [...] netscape.net
Cc:
AdminCc:

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



Subject: Support for alarm type 'none'
Data-ICal-0.19 Perl 5.12.4 Mac OS X 10.8.2 Data::ICal::Entry's alarm parsing routine dies on any alarm type it doesn't recognize. Newer versions of Apple's calendar software have been automatically adding 'ACTION:NONE' alarms (not exactly what for), causing _parse_valarm to die with a "Can't parse VALARM with action NONE' message. I've dealt with this in my own code for the time being locally modifying the %_action_map hash that maps alarms to object types: my %_action_map = ( AUDIO => 'Audio', DISPLAY => 'Display', EMAIL => 'Email', PROCEDURE => 'Procedure', NONE => 'Display' ); But obviously there either needs to be a class for the 'None's, or a more forgiving parser. Just letting you know.
Fixed in 0.22