[Tickets #13268] Kolab_Storage: PHP error on modifying contact picture

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Jun 18 13:57:15 UTC 2014


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

Ticket URL: http://bugs.horde.org/ticket/13268
------------------------------------------------------------------------------
  Ticket             | 13268
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Kolab_Storage: PHP error on modifying contact picture
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2014-06-18 13:57) wrote:

Hi,

when you modify a contact picture in turba (say: rotate it), the  
following error is logged:

2014-06-19T15:52:34+02:00 WARN: HORDE [turba] PHP ERROR: Invalid  
argument supplied for foreach() [pid 2863 on line 461 of  
"/datastore/DEVEL/framework/Kolab_Storage/lib/Horde/Kolab/Storage/Cache/Data.php"]

The structure of $object['_attachments'] looks like this:
---------------------------------
Array
(
     [photo.jpg] => Array
         (
             [type] => image/jpeg
             [content] => Resource id #331
         )

)
---------------------------------

-> no "id" value in there.

Cheers,
Thomas






More information about the bugs mailing list