
rindfuss at wzb
Oct 10, 2011, 1:11 AM
Post #1 of 1
(212 views)
Permalink
|
Hi, I recently tried to import an .ics file using the web interface "Load From File" option. The import crashed (reproducibly) at some point and only a completetely empty page was returned. Davical version is 0.9.9.6. Stepping thru the code I found that the problem occurs at line 338 of inc/caldav-PUT-functions.php in function do_scheduling_request, which in turn is called at line 599 in function import_collection. The code in do_scheduling_request reads if ( $email == $request->principal->email() ) { but $request is not set at this point. The statement is not always executed, only if there are attendees for a particular import event, so the bug might have gone unnoticed so far. I replaced it by if ( isset($request) && ($email == $request->principal->email()) ) { and now it works for me. But it might be wiser to set $request somewhere. Cheers, Peter ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Davical-general mailing list Davical-general [at] lists https://lists.sourceforge.net/lists/listinfo/davical-general
|