6.0.0-alpha14
7/2/25

[#12349] Cache of virtual folders not properly invalidated
Summary Cache of virtual folders not properly invalidated
Queue IMP
Queue Version 6.1.1
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester arjen+horde (at) de-korte (dot) org
Created 06/13/2013 (4402 days ago)
Due
Updated 06/20/2013 (4395 days ago)
Assigned
Resolved 06/13/2013 (4402 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/20/2013 11:52:28 AM arjen+horde (at) de-korte (dot) org Comment #14 Reply to this comment
Nope, it's broken again. Sometimes it works correctly a few times, but 
then it may also fail again. I have done the following to try if this 
is browser cache related:

- installed IMP again to make sure it is up-to-date and there are no 
missing/corrupted Javascript files (pear install -f horde/imp) -> no 
change
- cleared out the horde/static/ directory -> no change
- cleared the cache in Firefox -> no change
- installed a browser new to the system (to rule out any browser 
cache/history related issues) -> no change

I'm out of ideas what to try further to diagnose what is going on now. 
Where should I put the Horde::debug statements to find out what is 
happening?
06/19/2013 11:30:13 AM arjen+horde (at) de-korte (dot) org Comment #13 Reply to this comment
I stand corrected, clearing the browser cache indeed fixed this (with 
IMP 6.1.2). Thanks!
06/18/2013 09:58:49 PM Michael Slusarz Comment #12 Reply to this comment
I very much doubt it has to do with the browser cache.
It absolutely has to do with the browser cache.  Unless you have 
configured static javascript delivery, upgrading versions gives ZERO 
guarantee that your browser is not still using the old javascript.
06/18/2013 09:38:37 PM arjen+horde (at) de-korte (dot) org Comment #11 Reply to this comment
I can verify this is fixed.  So if it is not working for you, you 
need to debug yourself.
Crap. The problem is, that this doesn't always happen, but frequent 
enough to be annoying. I have not found a 100% reliable way to trigger 
it either.
Also need to make sure you clear browser cache.
I very much doubt it has to do with the browser cache. Both the 
message shown in the mailbox summary and the message displayed in the 
preview pane are from after the upgrade (and within the same session). 
If the only way to prevent this from happening would be to disable the 
browser cache, IMP is badly broken,
06/18/2013 09:24:30 PM Michael Slusarz Comment #10 Reply to this comment
I can verify this is fixed.  So if it is not working for you, you need 
to debug yourself.

Also need to make sure you clear browser cache.
06/18/2013 09:04:35 PM arjen+horde (at) de-korte (dot) org Comment #9 Reply to this comment
After upgrading to the latest IMP-6.1.2, the problem is still present. 
I just got the exact same behavior in the Virtual Inbox as reported 
earlier.

In case it matters, I'm using NoSQL cache with APC memorycache driver.
06/17/2013 07:38:05 AM arjen+horde (at) de-korte (dot) org Comment #8 Reply to this comment
Looks good now, thanks!
I'm not sure what is going on, but its still broken. Initially, it 
looked good, but now it's worse that it was before. New messages are 
not picked up at all (not even in the mailbox summary) and when 
messages are shown, the behavior is still the same. I'm not sure if I 
applied the patches correctly, so I 'll wait until IMP-6.1.2 is 
released and report back then.

06/15/2013 01:56:29 PM arjen+horde (at) de-korte (dot) org Comment #7 Reply to this comment
Looks good now, thanks!

06/14/2013 09:41:06 PM Michael Slusarz Comment #6
Assigned to Michael Slusarz
Reply to this comment
6.1.2.
06/14/2013 09:37:31 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit 85b34c0af8de4ced642a2143d2811eae2cd20c3a
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri Jun 14 15:36:59 2013 -0600

     [mms] Clear cached previews in dynamic view when changing or 
refreshing a search mailbox (Bug #12349).

  imp/docs/CHANGES                          |    4 +-
  imp/js/viewport.js                        |    1 +
  imp/lib/Ajax/Application/ListMessages.php |   39 ++++++++++++++++------------
  imp/package.xml                           |    4 +-
  4 files changed, 27 insertions(+), 21 deletions(-)

http://git.horde.org/horde-git/-/commit/85b34c0af8de4ced642a2143d2811eae2cd20c3a
06/14/2013 08:58:30 AM arjen+horde (at) de-korte (dot) org Comment #4 Reply to this comment
Already fixed in 6.1.2.
Virtual Inbox is still broken after applying

     
http://git.horde.org/commit.php/?rt=horde-git&commit=0877b21fbb15425e1d8f541610fc0ce489fdbe0c

to IMP-6.1.1. Are there more relevant differences between IMP-6.1.1 
and -6.1.2?
06/13/2013 12:08:17 PM Michael Slusarz Comment #3
State ⇒ Resolved
Reply to this comment
Already fixed in 6.1.2.
06/13/2013 08:04:29 AM arjen+horde (at) de-korte (dot) org Comment #2 Reply to this comment
I just noticed that the problem with the searches was reported to be 
fixed in IMP-6.1.2. I'll try if this fix also fixes this problems. 
Which patches are relevant to this?
06/13/2013 08:01:53 AM arjen+horde (at) de-korte (dot) org Comment #1
New Attachment: Virtual Inbox (1).PNG Download
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Cache of virtual folders not properly invalidated
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
When using virtual folders (either the Virtual Inbox or the results of 
a search), the cache doesn't seem to be invalidated between refreshes. 
See the attached image of the Virtual Inbox.

Before refreshing, three messages were displayed properly in the 
mailbox summary and also in the message view window. After hitting 
refresh, three new messages were found and correctly displayed in the 
mailbox summary. However, in the view window the old messages were 
still displayed (even after hitting refresh a couple more times).

From a message on the Horde mailinglist

http://lists.horde.org/archives/horde/Week-of-Mon-20130610/048036.html

a similar behavior seems to happen in the search window.

Saved Queries