[Tickets #9931] Re: Imap with memcache is only showing the attachments some times

bugs at horde.org bugs at horde.org
Thu Apr 21 18:21:58 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/9931
------------------------------------------------------------------------------
  Ticket             | 9931
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Imap with memcache is only showing the attachments
                     | some times
-Queue              | IMP
+Queue              | Horde Framework Packages
  Type               | Bug
-State              | Unconfirmed
+State              | Resolved
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-04-21 18:21) wrote:

This has nothing to do with memcache - it is true for any caching  
backend.  Since objects are passed as reference, any alteration of an  
object after being returned from a fetch() command would cause those  
alterations to be stored in the cache.  We don't want this - the  
cached results should be identical to what would be returned from a  
plain fetch() call.  So clone any objects before returning to prevent  
this from happening.






More information about the bugs mailing list