Menu

#22 SEQUENCE 0 isn't dumped on as_ical()

normal
open
Net-ICal (57)
5
2012-05-22
2001-03-23
Anonymous
No

Setting the sequence manually until it is handled
internally causes problems for SEQUENCE=0 (I know you
could assume default but this will apply for any field
with a zero value).

Line 307 of Component.pm has:

return unless $value->{value};

So it returns on a zero value.

-Ennui

Discussion


Log in to post a comment.

MongoDB Logo MongoDB