<?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>users&#039; kolab addressbook entries not editable</title> 
  <pubDate>Fri, 10 Apr 2026 19:46:52 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6034</link> 
  <atom:link rel="self" type="application/rss+xml" title="users&#039; kolab addressbook entries not editable" href="https://bugs.horde.org/ticket/6034/rss" /> 
  <description>users&#039; kolab addressbook entries not editable</description> 
 
   
   
  <item> 
   <title>i am using kolab 2.1 (debian unstable), kronolith-2.2-rc1 fr</title> 
   <description>i am using kolab 2.1 (debian unstable), kronolith-2.2-rc1 from the horde-webmail-edition-1.1-rc1.



with turba i can add entries to &quot;My Contacts&quot; (kolab-cyrus addressbook in user/&lt;mailaddress&gt;/Contacts), i can view them, i can even delete them.



but: any modification of a contact item (adding mail address, phone number, etc.) is not stored in kolab-cyrus.



works fine when editing contacts with kaddressbook... changes performed from kaddressbook are also immediately present in turba.



best &amp; merry x-mas,

mike</description> 
   <pubDate>Mon, 24 Dec 2007 12:48:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6034#t40242</link> 
  </item> 
   
  <item> 
   <title>did a bit of debugging...



the problem is that with kolab </title> 
   <description>did a bit of debugging...



the problem is that with kolab the source of kolab&#039;s default user contact folder is equal to the user&#039;s email adress. other non-default contact folders have the name of the cyrus path, e.g. INBOX/Contacts_private.



So address book entries in non-default contact folders are modifiable... but not so the kolab user default contact folder...



the issue originates in turba/lib/ListView.php and goes further down into turba/lib/Object.php. Everything rendered in ListView.php is passed on to further pages (view.php, edit.php, etc. by Variables::getDefaultVariables())



when rendering a table row (row.inc) in ListView.php, the method ob-&gt;getSource() (row.inc) returns INBOX/Contacts for the kolab user default contact folder, but should return user@domain.



looking closely at the Turba_Driver::getSource() method in turba/lib/Object.php:



&lt;quoting&gt;

function getSource() {

  return $this-&gt;driver-&gt;getName()

}

&lt;/quoting&gt;



this should call the Turba_Driver::getName() method in turba/lib/Driver.php, which then - in a proper object oriented environment - should return 



function getName() {

  return $this-&gt;driver-&gt;name;

}



but it does not... or it does, but we have two different values for the same expression ($this-&gt;driver-&gt;name).



anyway, find a patch attached, that works well with kolab, not sure about other backends...





</description> 
   <pubDate>Wed, 26 Dec 2007 03:17:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6034#t40334</link> 
  </item> 
   
  <item> 
   <title>&gt; looking closely at the Turba_Driver::getSource() method in</title> 
   <description>&gt; looking closely at the Turba_Driver::getSource() method in 

&gt; turba/lib/Object.php:

&gt;

&gt; &lt;quoting&gt;

&gt; function getSource() {

&gt;   return $this-&gt;driver-&gt;getName()

&gt; }

&gt; &lt;/quoting&gt;

&gt;

&gt; this should call the Turba_Driver::getName() method in 

&gt; turba/lib/Driver.php, which then - in a proper object oriented 

&gt; environment - should return

&gt;

&gt; function getName() {

&gt;   return $this-&gt;driver-&gt;name;

&gt; }

&gt;

&gt; but it does not... or it does, but we have two different values for 

&gt; the same expression ($this-&gt;driver-&gt;name).



I&#039;m going to need to see some other info about what object is what for this patch to make sense. What PHP version are you running? Have you tried using debug_backtrace() and var_dump() on the objects involved to see why the $name property seems to differ?</description> 
   <pubDate>Wed, 26 Dec 2007 03:25:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6034#t40337</link> 
  </item> 
   
  <item> 
   <title>i am using php-version 5.2.4-2 (as currently in debian testi</title> 
   <description>i am using php-version 5.2.4-2 (as currently in debian testing/unstable). i have sent a phpinfo page link to chuck directly for further reference...



a table row for my kolab user default abook (INBOX/Kontakte) in html looks like this:



&lt;tr class=&quot;&quot;&gt;

  &lt;td&gt;&lt;label for=&quot;INBOX/Kontakte:ed447a863b47cbf07628091605afb456&quot; class=&quot;hidden&quot;&gt;Kontakt auswählen&lt;/label&gt;&lt;input class=&quot;checkbox&quot; name=&quot;objectkeys[]&quot; id=&quot;INBOX/Kontakte:ed447a863b47cbf07628091605afb456&quot; value=&quot;INBOX/Kontakte:ed447a863b47cbf07628091605afb456&quot; type=&quot;checkbox&quot;&gt;&lt;/td&gt;

  &lt;td&gt;&lt;a nicetitle=&quot;Bearbeiten&quot; href=&quot;/mailxchange/turba/contact.php?view=EditContact&amp;amp;source=INBOX%2FKontakte&amp;amp;key=ed447a863b47cbf07628091605afb456&amp;amp;url=%2Fmailxchange%2Fturba%2Fbrowse.php&quot;&gt;&lt;img src=&quot;/mailxchange/themes/graphics/edit.png&quot; alt=&quot;Bearbeiten&quot; title=&quot;&quot;&gt;&lt;/a&gt;&lt;/td&gt;

  &lt;td&gt;&lt;a nicetitle=&quot;vCard herunterladen&quot; href=&quot;/mailxchange/turba/vcard.php?source=INBOX%2FKontakte&amp;amp;key=ed447a863b47cbf07628091605afb456&quot;&gt;&lt;img src=&quot;/mailxchange/themes/graphics/mime/vcard.png&quot; alt=&quot;vCard herunterladen&quot; title=&quot;&quot;&gt;&lt;/a&gt;&lt;/td&gt;

  &lt;td&gt;&amp;nbsp;&lt;/td&gt;

  &lt;td class=&quot;linedRowSelectedCol&quot;&gt;&lt;a href=&quot;/mailxchange/turba/contact.php?source=user%40mailserver.dom&amp;amp;key=ed447a863b47cbf07628091605afb456&quot;&gt;Test Abookuser&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;



in the several hrefs the option &quot;source&quot; is passed to the contact.php script. once it says 



  source=user%40mailserver.dom



which works fine (renderer by ob::url() in row.inc).



the other times it says



  source=INBOX%2FKontakte



which breaks kolab/cyrus (rendered by ob::getSource() in row.inc).



for more information on the related turba object i have sent a Var_Dump() of one $ob in row.inc to chuck directly.



thanks,

mike</description> 
   <pubDate>Wed, 26 Dec 2007 12:07:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6034#t40365</link> 
  </item> 
   
  <item> 
   <title>What might be most instructive is to var_dump the $this-&gt;dri</title> 
   <description>What might be most instructive is to var_dump the $this-&gt;driver object in Object.php, and then put a var_dump($this) inside getName() in Driver.php. See if the two objects match.



If you&#039;re posting object dumps please try to be selective as there are some recursive references that make things a bit repetitive. Also, please post them as text attachments to the ticket instead of mailing them to someone privately.



Thanks!</description> 
   <pubDate>Wed, 26 Dec 2007 15:43:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6034#t40374</link> 
  </item> 
   
  <item> 
   <title>this issue is gone in current horde cvs... please close the </title> 
   <description>this issue is gone in current horde cvs... please close the ticket.</description> 
   <pubDate>Thu, 20 Mar 2008 19:48:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6034#t44090</link> 
  </item> 
   
  <item> 
   <title>Thanks.</title> 
   <description>Thanks.</description> 
   <pubDate>Thu, 20 Mar 2008 22:01:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6034#t44097</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
