Summary | deleting resource group fails |
Queue | Kronolith |
Queue Version | 4.0.4 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | wbreyha (at) gmx (dot) net |
Created | 02/11/2013 (4542 days ago) |
Due | |
Updated | 02/16/2013 (4537 days ago) |
Assigned | 02/11/2013 (4542 days ago) |
Resolved | 02/16/2013 (4537 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Version ⇒ 4.0.4
commit fd15579c03e80c58cbc504f5aece6d931ce06c27
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sat Feb 16 13:08:27 2013 -0500
Improve/Fix resource event deletion after removing the resource.
Bug: 12034kronolith/lib/Driver/Resource/Sql.php | 34 ++++++++++++++++++++++----------
1 files changed, 23 insertions(+), 11 deletions(-)
http://git.horde.org/horde-git/-/commit/fd15579c03e80c58cbc504f5aece6d931ce06c27
State ⇒ Assigned
kronolith/lib/Driver/Resource/Sql.php:305 not 30
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ deleting resource group fails
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
and complained about
"Unknown column 'calender_id' in WHERE clause: DELETE FROM
'kronolith_resources' WHERE calender_id = "xxxx".
Seems like
kronolith/lib/Driver/Resource/Sql.php:30
causes it.
I asked about it on irc#horde. the messagelog:
<MASHtm> i have problems deleting resource groups in horde5. it
complains about a missing column calender_id in kronolith_resources
<MASHtm> looking at kronolith/lib/Driver/Resource/Sql.php:305 i see
"calender_id" and i think it should be "resource_id" instead
<yunosh> not quite, that's what we do in the 2nd query. i guess the
first query is supposed to be run on the kronolith_events table
instead. please create a bug ticket
<MASHtm> ah, ok;-) is it possible that some migrated data coming the
long way from horde3->4->5 causes this?
<yunosh> no, it's a bug
<MASHtm> ok, will file a bug then. thx;-)