[Tickets #14145] [turba] Unable to find __owner field. Cannot delete.

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Oct 26 17:51:27 UTC 2015


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

Ticket URL: https://bugs.horde.org/ticket/14145
------------------------------------------------------------------------------
  Ticket             | 14145
  Created By         | guenter.bartsch at vista-rasch.com
  Summary            | [turba] Unable to find __owner field. Cannot delete.
  Queue              | Turba
  Version            | 4.2.10
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


guenter.bartsch at vista-rasch.com (2015-10-26 17:51) wrote:

Cannot delete address books in turba: "Unable to find __owner field.  
Cannot delete."

Seems to be a bug in Turba's Sql driver. This patch fixes the problem:

--- Sql.php.1	2015-10-26 18:42:09.840500217 +0100
+++ Sql.php	2015-10-26 18:46:01.602802193 +0100
@@ -503,10 +503,10 @@
              ? array($GLOBALS['registry']->getAuth())
              : array($sourceName);

-        if (empty($this->_params['map']['__owner'])) {
+        if (empty($this->map['__owner'])) {
              throw new Turba_Exception(_("Unable to find __owner  
field. Cannot delete."));
          }
-        $owner_field = $this->_params['map']['__owner'];
+        $owner_field = $this->map['__owner'];

          /* Need a list of UIDs so we can notify History */
          $query = sprintf('SELECT %s FROM %s WHERE %s = ?',






More information about the bugs mailing list