<?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>missing &#039;uid&#039; in turba_browse</title> 
  <pubDate>Fri, 10 Apr 2026 15:00:38 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8338</link> 
  <atom:link rel="self" type="application/rss+xml" title="missing &#039;uid&#039; in turba_browse" href="https://bugs.horde.org/ticket/8338/rss" /> 
  <description>missing &#039;uid&#039; in turba_browse</description> 
 
   
   
  <item> 
   <title>missing &#039;uid&#039; in turba_browse properties.

note: if contact-</title> 
   <description>missing &#039;uid&#039; in turba_browse properties.

note: if contact-&gt;getValue issues a call instead of a simple attribute retrieval from an object, it could be optimized with a function like:

if  ! defined(item[guid]):

   item[guid] = item.getValue(&#039;_uid&#039;)



return item[guid]



Patch follows. The same in kronolith and maybe in all other modules...



@@ -580,6 +584,9 @@                                                                                                         

             if (in_array(&#039;created&#039;, $properties)) {                                                                        

                 $results[$key][&#039;created&#039;] = _turba_getActionTimestamp($contact-&gt;getValue(&#039;__uid&#039;), &#039;add&#039;);                 

             }                                                                                                              

+           if (in_array(&#039;uid&#039;, $properties)) { // rpolli .,+2                                                              

+               $results[$key][&#039;uid&#039;] = $contact-&gt;getValue(&#039;__uid&#039;);                                                        

+           }                                                                                                               

         }



         return $results;

</description> 
   <pubDate>Wed, 10 Jun 2009 12:30:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t54515</link> 
  </item> 
   
  <item> 
   <title>When you say missing, what would mean that the UID should be</title> 
   <description>When you say missing, what would mean that the UID should be present here? I don&#039;t know what it would mean for webdav, for example, and I don&#039;t see it in any of our other _browse method implementations.</description> 
   <pubDate>Fri, 12 Jun 2009 15:41:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t54549</link> 
  </item> 
   
  <item> 
   <title>&gt; When you say missing, what would mean that the UID should </title> 
   <description>&gt; When you say missing, what would mean that the UID should be present 

&gt; here?

yes. As the calendar.import method returns the UID of the item, it&#039;s an important information to retrieve.



&gt; I don&#039;t know what it would mean for webdav, for example, and I 

&gt; don&#039;t see it in any of our other _browse method implementations.

uid should be return on demand, not by default, like the &quot;modified&quot;, &quot;created&quot; fields..

let me know if you need some examples..







</description> 
   <pubDate>Fri, 12 Jun 2009 18:03:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t54550</link> 
  </item> 
   
  <item> 
   <title>Jan, am I missing something here?



Also, what relevance do</title> 
   <description>Jan, am I missing something here?



Also, what relevance do the calendar methods have to the Turba (address book) API? Though all the _browse ones should be as consistent as possible...</description> 
   <pubDate>Fri, 12 Jun 2009 21:05:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t54551</link> 
  </item> 
   
  <item> 
   <title>The purpose of the browse methods is to provide directory-li</title> 
   <description>The purpose of the browse methods is to provide directory-like listing for directory services like WebDAV, obrowser, etc. Objects are identified by their IDs, not their UIDs in those contexts. It&#039;s *not* there to list complete objects, use the list* and export methods for that.</description> 
   <pubDate>Fri, 12 Jun 2009 21:11:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t54552</link> 
  </item> 
   
  <item> 
   <title>&gt; Objects 

&gt; are identified by their IDs, not their UIDs in</title> 
   <description>&gt; Objects 

&gt; are identified by their IDs, not their UIDs in those contexts. 

so, is there a way to retrieve objects data by ID? (ex. export, getActionTimestamp, ..)

All webservice methods are UID-oriented but this one..to me it&#039;s quite confusing :)



Thx for your time,

R.



</description> 
   <pubDate>Sun, 14 Jun 2009 09:37:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t54563</link> 
  </item> 
   
  <item> 
   <title>It&#039;s confusing because there are currently two ways to ident</title> 
   <description>It&#039;s confusing because there are currently two ways to identify and retrieve objects, for historical reasons. UIDs are used for any synchronization purposes i.e. for external data exchange, IDs are used for internal exchange.</description> 
   <pubDate>Tue, 16 Jun 2009 10:22:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t54586</link> 
  </item> 
   
  <item> 
   <title>&gt; It&#039;s confusing because there are currently two ways to ide</title> 
   <description>&gt; It&#039;s confusing because there are currently two ways to identify and 

&gt; retrieve objects, for historical reasons.

are you going to leave one out in future releases?



&gt; UIDs are used for any 

&gt; synchronization purposes i.e. for external data exchange, 

so why not to expose methods to show a map of &lt;uid, ..properties..&gt; ?

It enables webservices to be a replacement of sql access.



if I create a cached browser for horde contacts/calendar, I got browsing data &lt;Id, modified, ..&gt; but when i insert an item, the ws returns the uid..

As cache checks etag/timestamp to (in)validate the item, actual horde ws behavior makes impossible to create a &quot;fast&quot; cache, forcing to continuously use getActionTimestamp on each item (with the overhead due to the amount of ws call - about 1sec each).



&gt; IDs are used for internal exchange.

and webdav



Thx,

R.</description> 
   <pubDate>Tue, 16 Jun 2009 10:48:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t54589</link> 
  </item> 
   
  <item> 
   <title>we r missing inbox mail for the other broswer</title> 
   <description>we r missing inbox mail for the other broswer</description> 
   <pubDate>Thu, 13 Aug 2009 13:30:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8338#t55295</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
