Summary | Fails to load Kolab XML data from IMAP |
Queue | Mnemo |
Queue Version | Git develop |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | thomas.jarosch (at) intra2net (dot) com |
Created | 07/14/2012 (4753 days ago) |
Due | |
Updated | 08/29/2012 (4707 days ago) |
Assigned | 07/17/2012 (4750 days ago) |
Resolved | 07/17/2012 (4750 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit d7dcdcdb3e653eade5e2916d479de90fe16d27bd
Author: Jan Schneider <jan@horde.org>
Date: Tue Jul 17 13:11:09 2012 +0200
Use changed iterator from Imap_Client (
Bug #11273,Bug #11274)..../lib/Horde/Kolab/Storage/Driver/Imap.php | 4 ++--
framework/Kolab_Storage/package.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/d7dcdcdb3e653eade5e2916d479de90fe16d27bd
commit d7dcdcdb3e653eade5e2916d479de90fe16d27bd
Author: Jan Schneider <jan@horde.org>
Date: Tue Jul 17 13:11:09 2012 +0200
Use changed iterator from Imap_Client (
Bug #11273,Bug #11274)..../lib/Horde/Kolab/Storage/Driver/Imap.php | 4 ++--
framework/Kolab_Storage/package.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/d7dcdcdb3e653eade5e2916d479de90fe16d27bd
State ⇒ Assigned
diff --git
a/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Factory.php
b/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Factory.php
index 001271b..9ec5723 100644
--- a/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Factory.php
+++ b/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Factory.php
@@ -155,6 +155,11 @@ class Horde_Kolab_Storage_Factory
$timer = new Horde_Support_Timer();
$timer->push();
}
+
+ // Horde::logMessage("TOMJ: Dumping kolab driver params:
".print_r($params,true));
+ $params['driver'] = 'pear';
Question: Is the IMAP driver used for the Kolab backend configurable
somewhere?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Fails to load Kolab XML data from IMAP
Queue ⇒ Mnemo
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
mnemo currently fails to load Kolab XML data stored in an IMAP server.
This is the error message in the log:
2012-07-14T17:48:29+02:00 WARN: HORDE [mnemo] PHP ERROR: array_keys()
expects parameter 1 to be array, object given [pid 17825 on line 425
of
"/datastore/DEVEL/horde/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Driver/Imap.php"]
2012-07-14T17:48:29+02:00 WARN: HORDE [mnemo] PHP ERROR: Invalid
argument supplied for foreach() [pid 17825 on line 425 of
"/datastore/DEVEL/horde/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Driver/Imap.php"]
I've added a print_r() and log call to the $ret variable in question,
the result is a "DumpHorde_Imap_Client_Fetch_Results" object instead
of an array.
2012-07-14T17:55:12+02:00 INFO: HORDE [mnemo] TOMJ:
DumpHorde_Imap_Client_Fetch_Results Object
(
[_data:protected] => Array
(
[1] => Horde_Imap_Client_Data_Fetch Object
(
[_data:protected] => Array
(
[14] => 1
[13] => 1
[1] => Horde_Mime_Part Object
(
[_type:protected] => multipart
[_subtype:protected] => mixed
[_contents:protected] =>
[_transferEncoding:protected] => binary
[_language:protected] => Array
(
[0] => NIL
)
[_description:protected] =>
[_disposition:protected] => attachment
[_dispParams:protected] => Array
(
[filename] => Kolab Groupware Data
)
[_contentTypeParams:protected] => Array
(
[boundary] =>
=_0bgbYAhKP71P7zvJUQdHW7A
[name] => Kolab Groupware Data
)
Is this due to an incomplete refactoring or a different issue?
Cheers,
Thomas