[kronolith] Call to a member function addException() on a non-object

Michael Menge michael.menge at zdv.uni-tuebingen.de
Tue Feb 9 10:56:35 UTC 2016


Hi,

one of our users has tries to accept and add an event received via  
iCal invitation mail.
This action failed with the following error in Kronolith 4.2.11

call to a member function addException() on a non-object in  
/var/www/html/horde/kronolith/lib/Event.php on line 1447, referer:  
https://webmail.uni-tuebingen.de/imp/dynamic.php?page=mailbox

Google found the following thread that might be related in some parts,  
but I couldn't find a bug-ticket
http://lists.horde.org/archives/horde/Week-of-Mon-20150727/054580.html


Digging into this I suspect Kronolith failed to Pares the  
RECURRENCE-ID and could not set originaldt.

Quoting /var/www/html/horde/kronolith/lib/Event.php line 1440:1441
> $recurrenceid = $vEvent->getAttribute('RECURRENCE-ID');
> $originaldt = new Horde_Date($recurrenceid);

The iCal attachment contains the following RECURRENCE-ID:

RECURRENCE-ID;TZID=W. Europe Standard Time:20160503T140000

So I have the following questions:

1. is "W. Europe Standard Time" a valid value for TZID? I suspect not.
2. which package/file/RFC contains the known/allowed TZID
3. is there a work around?
4. should Kronolith catch this error?

Regards

    Michael Menge


--------------------------------------------------------------------------------
M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen



More information about the kronolith mailing list