Sadless74 / googletransitdatafeed

Automatically exported from code.google.com/p/googletransitdatafeed
0 stars 0 forks source link

feedvalidator.CalendarSummary crashes if the feed starts in the future or ends in less than 60 days #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As the subject says CalendarSummary crashes with an assertion error if it
is given a schedule that starts in the future or ends in less than 60 days.

This is a side effect of a change introduced in r1170. After this revision
GenerateDateTripsDeparturesList no longer removed days with no trips at the
beginning or the end of the range, but CalendarSummary relied on this behavior.

The adequate warnings should be issued, but CalendarSummary should not crash.

Original issue reported on code.google.com by a...@google.com on 25 Nov 2009 at 4:22

GoogleCodeExporter commented 9 years ago
Fixed by r1218

Original comment by a...@google.com on 26 Nov 2009 at 5:45