<?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>API _replace method doesn&#039;t work</title> 
  <pubDate>Fri, 10 Apr 2026 09:35:35 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7436</link> 
  <atom:link rel="self" type="application/rss+xml" title="API _replace method doesn&#039;t work" href="https://bugs.horde.org/ticket/7436/rss" /> 
  <description>API _replace method doesn&#039;t work</description> 
 
   
   
  <item> 
   <title>I&#039;ve noticed that _replace method doesn&#039;t work properly. The</title> 
   <description>I&#039;ve noticed that _replace method doesn&#039;t work properly. The steps it follows are:

- It creates an Horde_iCalendar object

- It creates an Horde_iCalendar_vNote component with Horde_iCalendar::newComponent, with the previous Horde_iCalendar object as container

- Then, it parse the &quot;content&quot; string



Result:



- Horde_iCalendar object creates an new component vNote, ignoring the previous vNote creates, so you have an vNote empty object with a cantainer that has another vNote (this one with the correct data).

- In Driver fromiCalendar method, it extracts the empty vNote



I&#039;m not sure if it is a bug of Horde_iCalendar class. Any way, i think that _replace in mnemo should follow the same steps as _replace nag&#039;s method, or even _import mnemo&#039;s method, i mean:



- Creating Horde_iCalendar object

- Parse directly the &quot;content&quot; string

- Extracts the component with Horde_iCalendar::getComponents()



I attach a patch. The modification has been extracted from _replace nag&#039;s method.

</description> 
   <pubDate>Mon, 06 Oct 2008 08:52:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7436#t49385</link> 
  </item> 
   
  <item> 
   <title>Are you sure this is against version 2.2.1? Does the patch a</title> 
   <description>Are you sure this is against version 2.2.1? Does the patch apply against 2.3 too?</description> 
   <pubDate>Tue, 07 Oct 2008 13:39:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7436#t49471</link> 
  </item> 
   
  <item> 
   <title>The patch is for mnemo&#039;s api.php file(HEAD CVS version), and</title> 
   <description>The patch is for mnemo&#039;s api.php file(HEAD CVS version), and as soon as I know, mnemo-h3-2.2.1 is the last version.</description> 
   <pubDate>Tue, 07 Oct 2008 19:07:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7436#t49497</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/mnemo/lib/api.php?r1=1.91&amp;r2=1.92&amp;ty=u</description> 
   <pubDate>Fri, 24 Oct 2008 10:53:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7436#t49962</link> 
  </item> 
   
  <item> 
   <title>Committed, thanks.</title> 
   <description>Committed, thanks.</description> 
   <pubDate>Fri, 24 Oct 2008 10:54:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7436#t49963</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
