Author: ralfbecker
New Revision: 53742
URL: http://svn.stylite.de/viewvc/egroupware?rev=53742&view=rev
Log:
- Calendar/CalDAV: fix Outlook does not import invitations with wired error "organizer needs not to send responses"
caused by new Horde Icalendar class exporting all integer x-properties as empty string, casting X-EGROUPWARE-UID not explicit to string before passing it to Horde code
Modified:
trunk/calendar/inc/class.calendar_ical.inc.php
Modified: trunk/calendar/inc/class.calendar_ical.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/calendar/inc/class.calendar_ical.inc.php?rev=53742&r1=53741&r2=53742&view=diff
— trunk/calendar/inc/class.calendar_ical.inc.php (original)
+++ trunk/calendar/inc/class.calendar_ical.inc.php Mon Sep 28 10:11:31 2015
@@ -459,7 +459,7 @@
$organizerURL = $participantURL;
$rsvp = ‘’;
$organizerCN = $participantCN;
-
$organizerUID = ($info['type'] != 'e' ? $uid : '');
-
$organizerUID = ($info['type'] != 'e' ? (string)$uid : ''); } // PARTSTAT={NEEDS-ACTION|ACCEPTED|DECLINED|TENTATIVE|DELEGATED|COMPLETED|IN-PROGRESS} everything from delegated is NOT used by eGW atm. $status = $this->status_egw2ical[$status];
@@ -480,7 +480,7 @@
‘PARTSTAT’ => ‘NEEDS-ACTION’,
‘CUTYPE’ => ‘INDIVIDUAL’,
‘RSVP’ => ‘TRUE’,
-
'X-EGROUPWARE-UID' => $this->user,
-
'X-EGROUPWARE-UID' => (string)$this->user, ); $event['participants'][$this->user] = true; }
@@ -517,8 +517,8 @@
{
$options[‘EMAIL’] = $info[‘email’]; // only add EMAIL attribute, if not already URL, as eg. Akonadi is reported to have problems with it
}
-
if ($info['type'] != 'e') $options['X-EGROUPWARE-UID'] = $uid; -
if ($quantity > 1) $options['X-EGROUPWARE-QUANTITY'] = $quantity;
-
if ($info['type'] != 'e') $options['X-EGROUPWARE-UID'] = (string)$uid; -
if ($quantity > 1) $options['X-EGROUPWARE-QUANTITY'] = (string)$quantity; $attributes['ATTENDEE'][] = $participantURL; $parameters['ATTENDEE'][] = $options; }
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs