Summary | Imap with caching is only showing the attachments some times |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | slusarz (at) horde (dot) org |
Requester | goncalo.queiros (at) portugalmail (dot) net |
Created | 04/19/2011 (5168 days ago) |
Due | |
Updated | 04/21/2011 (5166 days ago) |
Assigned | |
Resolved | 04/21/2011 (5166 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Michael Slusarz
Summary ⇒ Imap with caching is only showing the attachments some times
Version ⇒ Git master
Version ⇒
Queue ⇒ Horde Framework Packages
State ⇒ Resolved
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.
Return cloned objects from Data results, to prevent issues when
caching (
Bug #9931)3 files changed, 8 insertions(+), 5 deletions(-)
http://git.horde.org/horde-git/-/commit/2c862f00899f3529ab3ff578a412563798254760
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Imap with memcache is only showing the attachments some times
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
New Attachment: message
State ⇒ Unconfirmed
$conf['cache']['driver'] = 'Memcache';
$conf['cache']['use_memorycache'] = 'Memcache';
And activated imap cache on imp backends.php
I open a message, and then open any attachment it contains (a new
window is opened) and everything works as expected, and i can see the
attachment in the new window.
If i go back to the main window and refresh it (making the message
open again), and then go back to the attachment window and refresh it,
i won't see the attachment anymore.
If i keep repeating the previous step, i will get alternate behaviors
(between showing attachment and not showing).
I attached the message that i used for test