[Tickets #7921] Re: x-vnd.kolab.distribution-list (horde) vs. x-vnd.kolab.contact.distlist (kontact, toltec)

bugs at horde.org bugs at horde.org
Sun Feb 1 17:28:36 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7921
------------------------------------------------------------------------------
  Ticket             | 7921
  Updated By         | m.gabriel at das-netzwerkteam.de
  Summary            | x-vnd.kolab.distribution-list (horde) vs.
                     | x-vnd.kolab.contact.distlist (kontact, toltec)
  Queue              | Kolab
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


m.gabriel at das-netzwerkteam.de (2009-02-01 12:28) wrote:

plz note that this first fragment from the patch also fixes a  
misbehaviour with distribution-list that lack the horde specifig  
member option ,,uid''.

@@ -1036,7 +1038,7 @@

$member_ids = array();
if (isset($object['member']))
{ foreach ($object['member'] as $member) {
- if (isset($member['uid'])) {
+ if ((isset($member['uid'])) && (!empty($member['uid']))) {
  $member_ids[] = $member['uid']; continue; }

whereas the second bit of code just corrects a misprint... (,,return''  
vs. ,,result ='')

@@ -1261,7 +1268,8 @@
}
  /* Revert to the original state */
- return $this->_store->setObjectType('contact');
+ $this->_store->setMimeType('contact');
+ $result = $this->_store->setObjectType('contact');
  if (is_a($result, 'PEAR_Error')) { return $result; }






More information about the bugs mailing list