| Summary | [turba] Unable to find __owner field. Cannot delete. |
| Queue | Turba |
| Queue Version | 4.2.10 |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | mrubinsk (at) horde (dot) org |
| Requester | guenter.bartsch (at) vista-rasch (dot) com |
| Created | 10/26/2015 (3694 days ago) |
| Due | |
| Updated | 10/28/2015 (3692 days ago) |
| Assigned | 10/26/2015 (3694 days ago) |
| Resolved | 10/28/2015 (3692 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | Yes |
State ⇒ Resolved
commit d01674626f9b44db6f3e915d52a6b40cbd892b74
Author: Guenter Bartsch <guenter.bartsch@vista-rasch.com>
Date: Wed Oct 28 08:24:48 2015 -0400
Bug #14145: Fix deleteAll for Sql driver.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
turba/lib/Driver/Sql.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/d01674626f9b44db6f3e915d52a6b40cbd892b74
commit c4b9c7891741b887297c465fb4171689cf4eeefd
Author: Guenter Bartsch <guenter.bartsch@vista-rasch.com>
Date: Wed Oct 28 08:24:48 2015 -0400
Bug #14145: Fix deleteAll for Sql driver.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
turba/lib/Driver/Sql.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/c4b9c7891741b887297c465fb4171689cf4eeefd
Assigned to Michael Rubinsky
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ [turba] Unable to find __owner field. Cannot delete.
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
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 = ?',