[Tickets #11273] Fails to load Kolab XML data from IMAP

bugs at horde.org bugs at horde.org
Sat Jul 14 16:08:20 UTC 2012


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

Ticket URL: http://bugs.horde.org/ticket/11273
------------------------------------------------------------------------------
  Ticket             | 11273
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Fails to load Kolab XML data from IMAP
  Queue              | Mnemo
  Version            | Git develop
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2012-07-14 16:08) wrote:

Hi,

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






More information about the bugs mailing list