Summary | Windows Mobile : task with alarm |
Queue | Synchronization |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | patrick.abiven (at) apitech (dot) fr |
Created | 09/19/2008 (6104 days ago) |
Due | |
Updated | 09/23/2008 (6100 days ago) |
Assigned | 09/23/2008 (6100 days ago) |
Resolved | 09/23/2008 (6100 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
we don't have the DUE attribute. So if we want to synchronize task
with alarm, we have to initialize the DUE atttribute.
i.e. if the time difference is greater than zero.
alarm to 1. So in our case, this workaround is useful.
http://cvs.horde.org/diff.php/framework/SyncML/SyncML/Device/Sync4j.php?r1=1.56&r2=1.57&ty=u
State ⇒ Assigned
Priority ⇒ 1. Low
we don't have the DUE attribute. So if we want to synchronize task
with alarm, we have to initialize the DUE atttribute.
i.e. if the time difference is greater than zero.
alarm to 1. So in our case, this workaround is useful.
Regards
Patrick
State ⇒ Feedback
a) you are unconditionally overwriting the due date
b) nag's alarm only work if the alarm time is before the due date,
i.e. if the time difference is greater than zero.
State ⇒ Assigned
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Windows Mobile : task with alarm
Type ⇒ Bug
From a Windows Mobile + Funambol device, alarm of a task is not set
into Horde database.
Because, we only have a <ReminderTime> attribute, we should set the
ALARM attribute but also the DUE attribute. Then nag/lib/Driver.php
will set the alarm to 1.
It seems that we should add, into lib/SyncML/Device/Sync4j.php,
function sif2vtodo()
if (!empty($a['ReminderSet'])) {
+ $vtodo->setAttribute('DUE', $iCal->_parseDateTime($a['ReminderTime']));
$vtodo->setAttribute('AALARM',
$iCal->_parseDateTime($a['ReminderTime']));
}
Regards
Patrick