[TYPO3-calendar] ics-import with VTIMEZONE

Mario Matzulla mario at matzullas.de
Sun Jan 10 17:39:47 CET 2016


Hi Dirk,

thanks for working this out. Could you please create a ticket on forge, so I don't forget to include this fix? :)

Thanks,
Mario

Am 10.01.16 um 15:43 schrieb Dirk Steffens:
> Now I helped myselve with including a continue statement in line 628 in parsevCalendar - so the block has changed to :
> 
> if ($component === false) {
>     continue;
>     //return PEAR::raiseError("Unable to create object for type $type");
> }
> 
> I think, there is missing an error-handling
> 
> 
> Am 10.01.2016 um 14:51 schrieb Dirk Steffens:
>> Additional information:
>> Version cal: 1.10.2
>> Version typo3: 7.6.2
>>
>> I've just tested with typo3 6.2.17 on the same server
>> And surprisingly there is no problem with the same .ics-file an cal.1.10.2
>>
>> Are there any ideas?
>>
>>
>> Am 10.01.2016 um 14:05 schrieb Dirk Steffens:
>>> Hello,
>>>
>>> are there any known problems with .ics-files which include a
>>> VTIMEZONE-Block.
>>>
>>> While importing someting like the following I get always
>>> "Fatal error: Call to a member function parsevCalendar() on boolean in
>>> /.../typo3conf/ext/cal/Classes/Model/ICalendar.php on line 630"
>>>
>>>
>>> ics-content
>>> "
>>> BEGIN:VCALENDAR
>>> PRODID:-//davical.org//NONSGML AWL Calendar//EN
>>> VERSION:2.0
>>> CALSCALE:GREGORIAN
>>> X-WR-CALNAME:Public
>>> BEGIN:VTIMEZONE
>>> TZID:Europe/Berlin
>>> X-LIC-LOCATION:Europe/Berlin
>>> BEGIN:DAYLIGHT
>>> TZOFFSETFROM:+0100
>>> TZOFFSETTO:+0200
>>> TZNAME:CEST
>>> DTSTART:19810329T020000
>>> RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
>>> END:DAYLIGHT
>>> BEGIN:STANDARD
>>> TZOFFSETFROM:+0200
>>> TZOFFSETTO:+0100
>>> TZNAME:CET
>>> DTSTART:19961027T030000
>>> RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
>>> END:STANDARD
>>> END:VTIMEZONE
>>> END:VCALENDAR
>>> "
>>>
>>> Thanks for reading
>>> Dirk
>>
> 



More information about the TYPO3-project-calendar mailing list