Calendar: Full day event is breaking calendar view

Created on 10 Nov 2019  路  4Comments  路  Source: nextcloud/calendar

The following calendar entry causes no listing of any events of the related calendar on Calendar 2.0.0 beta2:

BEGIN:VEVENT
CREATED:20191110T201222Z
LAST-MODIFIED:20170620T101233Z
DTSTAMP:20170620T101233Z
UID:b3bf7391-da34-4459-b274-6a84f8bc8668
SUMMARY:Test
DTSTART;VALUE=DATE:20170705
DTEND;VALUE=DATE:20170706
END:VEVENT
vue.runtime.esm.js:1888 TypeError: this.startDate is not a function
    at ni.get endDate [as endDate] (eventComponent.js:86)
    at ni.isInTimeFrame (eventComponent.js:288)
    at zr.getAllOccurrencesBetweenIterator (recurrenceManager.js:648)
    at getAllOccurrencesBetweenIterator.next (<anonymous>)
    at Function.from (<anonymous>)
    at zr.getAllOccurrencesBetween (recurrenceManager.js:681)
    at e.value (calendarObject.js:166)
    at Ri (eventSourceFunction.js:39)
    at events (eventSource.js:59)
    at main.esm.js:3436

Related line in calendar-js:
https://github.com/georgehrke/calendar-js/blob/669dd298d93633f0e70c0c271d96d72a76377cbd/src/components/root/eventComponent.js#L86

0. to triage bug

Most helpful comment

Shared it with you on our Nextcloud.

All 4 comments

Super weird, since there is a start-date, but let me look into it. Thx!

@juliushaertl Can you please provide me the full ics? (The entire BEGIN:VCALENDAR ... END:VCALENDAR block)

Shared it with you on our Nextcloud.

Fixed in https://github.com/georgehrke/calendar-js/commit/24f9c8e684db3421ac4487e6eb8a811a0b845ab7
(not updated to this in calendar yet)

Additional hardening in #1657

Was this page helpful?
0 / 5 - 0 ratings