6.0.0-alpha14
7/2/25

[#14099] Current Horde_Core requires interface not provided by current Kolab_Storage (breaks Horde under some configurations)
Summary Current Horde_Core requires interface not provided by current Kolab_Storage (breaks Horde under some configurations)
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester pez (at) apocalyptech (dot) com
Created 09/06/2015 (3587 days ago)
Due
Updated 09/07/2015 (3586 days ago)
Assigned 09/06/2015 (3587 days ago)
Resolved 09/07/2015 (3586 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/07/2015 07:44:18 PM Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
Horde_Core 2.21.0
09/06/2015 03:13:34 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Assigned
Reply to this comment
I thought I had bumped the minimum version for Kolab_Storage in the 
package.xml file. It must have been dropped during the merge from my 
topic branch. :/

At this point, we'll probably need to release Kolab_Storage, bump the 
required version in Core and release a new Core as well.

Good thing the Kolab package changes are mostly finished :)
09/06/2015 06:06:56 AM pez (at) apocalyptech (dot) com Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Current Horde_Core requires interface not provided by current Kolab_Storage (breaks Horde under some configurations)
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
The commit in question is this one: 
https://github.com/horde/horde/commit/1496bd21af11361e52ea0e5a161aa7717a5f84ab

In that commit, a new interface is defined in 
framework/Kolab_Storage/lib/Horde/Kolab/Storage/HistoryPrefix.php, and 
a class is set to use that interface, at 
framework/Core/lib/Horde/Core/Kolab/Storage/HistoryPrefix.php.

The current stable Horde_Kolab_Storage (2.1.4) does not provide the 
interface (since 2.1.4 was cut sometime 'round April 28, and that 
commit was from May 18).  The current stable Horde_Core (2.20.9) DOES 
contain the class which attempts to use that interface, since that 
project's been cut a few times since the commit in question.

Under some configurations, this can lead to a fatal error like the following:

2015-09-05T23:01:17-05:00 EMERG: HORDE [turba] Interface 
'Horde_Kolab_Storage_HistoryPrefix' not found [pid 8128 on line 21 of 
"/usr/share/pear/Horde/Core/Kolab/Storage/HistoryPrefix.php"]

Specifically in my case, I'd had my Horde Shares Driver set to 
"IMAP/Kolab," which caused that error to pop up whenever Turba was 
active.  When I changed that setting to SQL, I was able to use Horde 
properly.  The error wasn't restricted to just Turba - it would 
prevent all access to Horde.

Saved Queries