mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-19 05:01:12 +01:00
* 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
This commit is contained in:
parent
29249f6d8b
commit
03366d2c67
@ -459,7 +459,7 @@ class calendar_ical extends calendar_boupdate
|
||||
$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 @@ class calendar_ical extends calendar_boupdate
|
||||
'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 @@ class calendar_ical extends calendar_boupdate
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user