<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Windows Mobile : task with alarm</title> 
  <pubDate>Fri, 10 Apr 2026 04:21:44 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7362</link> 
  <atom:link rel="self" type="application/rss+xml" title="Windows Mobile : task with alarm" href="https://bugs.horde.org/ticket/7362/rss" /> 
  <description>Windows Mobile : task with alarm</description> 
 
   
   
  <item> 
   <title>Hello

From a Windows Mobile + Funambol device, alarm of a t</title> 
   <description>Hello

From a Windows Mobile + Funambol device, alarm of a task is not set into Horde database.

Because, we only have a &lt;ReminderTime&gt; 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[&#039;ReminderSet&#039;])) {

+      $vtodo-&gt;setAttribute(&#039;DUE&#039;, $iCal-&gt;_parseDateTime($a[&#039;ReminderTime&#039;]));

        $vtodo-&gt;setAttribute(&#039;AALARM&#039;, $iCal-&gt;_parseDateTime($a[&#039;ReminderTime&#039;]));

        }

Regards

Patrick</description> 
   <pubDate>Fri, 19 Sep 2008 15:12:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7362#t49031</link> 
  </item> 
   
  <item> 
   <title>That won&#039;t work because:

a) you are unconditionally overwri</title> 
   <description>That won&#039;t work because:

a) you are unconditionally overwriting the due date

b) nag&#039;s alarm only work if the alarm time is before the due date, i.e. if the time difference is greater than zero.</description> 
   <pubDate>Mon, 22 Sep 2008 21:59:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7362#t49154</link> 
  </item> 
   
  <item> 
   <title>&gt; a) you are unconditionally overwriting the due date

That </title> 
   <description>&gt; a) you are unconditionally overwriting the due date

That is right. But in the case of windows mobile devices + funambol, we don&#039;t have the DUE attribute. So if we want to synchronize task with alarm, we have to initialize the DUE atttribute. 



&gt; b) nag&#039;s alarm only work if the alarm time is before the due date, 

&gt; i.e. if the time difference is greater than zero.

It seems that not, because if alarm time == due date, Nag set the alarm to 1. So in our case, this workaround is useful.

Regards

Patrick</description> 
   <pubDate>Tue, 23 Sep 2008 06:31:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7362#t49160</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/SyncML/SyncML/Device/Sync4j.php?r1=1.56&amp;r2=1.57&amp;ty=u</description> 
   <pubDate>Tue, 23 Sep 2008 11:56:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7362#t49168</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; a) you are unconditionally overwriting the due date

&gt; Th</title> 
   <description>&gt;&gt; a) you are unconditionally overwriting the due date

&gt; That is right. But in the case of windows mobile devices + funambol, 

&gt; we don&#039;t have the DUE attribute. So if we want to synchronize task 

&gt; with alarm, we have to initialize the DUE atttribute.



I added a check to make sure that DUE hasn&#039;t been specified yet.



&gt;&gt; b) nag&#039;s alarm only work if the alarm time is before the due date,

&gt;&gt; i.e. if the time difference is greater than zero.

&gt; It seems that not, because if alarm time == due date, Nag set the 

&gt; alarm to 1. So in our case, this workaround is useful.



True. Committed, thanks!</description> 
   <pubDate>Tue, 23 Sep 2008 11:57:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7362#t49169</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
