Page MenuHomekolab.org

Recurrence of new task via ActiveSync silently discarded
Closed, ResolvedPublic

Description

If you create a new task via Active Sync with recurrence, the task will be created, but the recurrence is silently discarded.

I guess that the problem are the following lines 1687-1689, which don't check for Syncroton_Model_TaskRecurrence.

$ rpm -qv kolab-syncroton
kolab-syncroton-2.3.15-5.13.el7.kolab_16.noarch

The following code creates Events and Tasks with recurrence.

if (!(($data->recurrence instanceof Syncroton_Model_EventRecurrence) || ($data->recurrence instanceof Syncroton_Model_TaskRecurrence))   
            || !isset($data->recurrence->type)) {
            return null;
}

Details

Ticket Type
Task

Event Timeline

rbrunhuber added a project: Syncroton.
rbrunhuber added a subscriber: Syncroton Developers.

Submitting patch for review blocked due to https://git.kolab.org/T5462

machniak closed this task as Resolved.Jul 5 2019, 9:00 AM
machniak claimed this task.
machniak added a subscriber: machniak.

Fixed in 91e57e1f7367.

pasik added a subscriber: pasik.Aug 29 2019, 9:07 PM