Hi folks,
LAST-MODIFIED never gets added to the supportedFields array, so it never gets
imported with IcalSrv. Also, modified dates are automatically touched when
importing with IcalSrv, regardless of whether such a date was imported or
not.
This has the effect of updating the modification date for all calendar events
every time the client sends an update. This is especially bad for calendar
sharing situations, and I’m wondering if there’s a purpose for this behavior.
Thanks!
Proposed simple fix:
— egroupware/icalsrv/inc/class.bocalupdate_vevents.inc.php 2008-02-01
14:56:54.000000000 -0600
+++ egroupware/icalsrv/inc/class.bocalupdate_vevents.inc.php.new
2008-03-14 15:00:54.000000000 -0500
@@ -904,7 +904,7 @@
}
// -------- UPDATE --------------------
TRUE, !$event[‘modified’] )){
// UPDATE OKE ,now update alarms
if(in_array('VALARM',$veImportFields)){
@@ -1083,7 +1083,7 @@
$this->supportedFields =
array_merge($defaultFields,
array(‘ATTENDEE’,‘ORGANIZER’,‘TRANSP’,‘CATEGORIES’,
// error_log(‘OKE setsupportedFields (all)to:’.
print_r($this->supportedFields,true));
break;
–
Peter Goerzen
I.S Development
Hustler Turf Equipment/Excel Industries, Inc.
(620) 327-1180
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft® Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers