#1484153 closed Bugs (fixed)
Preview displays messages from wrong account
| Reported by: | Benjamin | Owned by: | thomasb |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2-beta |
| Component: | Client Scripts | Version: | git-master |
| Severity: | normal | Keywords: | preview pane |
| Cc: |
Description
Steps to reproduce this problem: (2+ accounts needed)
1) Login with one account and view a messages in the preview pane
2) Logout and login back in again with a second account (don't close browser)
3) Now messages viewed on the preview pane are from the previous mailbox!
When the messages are opened normally via double-click it works properly.
Also, closing the tab and opening it again in Firefox seems to clear whatever is causing the wrong message to be loaded.
I've experienced this problem in both Firefox 2.0 and Safari 2.0.4
Change History (10)
comment:1 Changed 7 years ago by jpingle
comment:2 Changed 7 years ago by Benjamin
I'm using Firefox on a Mac. I'm also seeing the problem in Firefox 1.0.6 on Windows inside a VirtualPC environment. Message caching is disabled in config/main.inc.php. Should I also reduce the setting for session cache lifetime?
$rcmail_configenable_caching? = FALSE;
$rcmail_configmessage_cache_lifetime? = '10d';
I presume the cache lifetime doesn't apply when enable_caching is set to false? Is there any other setting for message caching? Also, I had changed the preview pane to be on by default. (before noticing this problem)
$rcmail_configpreview_pane? = TRUE;
It definately seems to be a browser caching issue. I went into the roundcube database to see if it might be writing a messages to cache. It is only a testing machine so far, so I just deleted all the data from each of the tables. (There was nothing in cache anyway.) This logged me out of the session, but on logging back in it still loads the messages to the preview pane.
If you have any more questions let me know, I'm happy to help test this.
comment:3 Changed 7 years ago by Benjamin
What I meant to say...
After clearing out the roundcube database tables and logging back in it still loads the wrong messages to the preview pane. Firefox was left open while doing this.
comment:4 Changed 7 years ago by thomasb
- Milestone set to 0.1-rc1
- Owner set to thomasb
- Status changed from new to assigned
Looks like a caching problem to me. RoundCube allows the browser to cache the message preview which is (only) identified by the mailbox name and the message UID. I guess we have to add a session or account identifier to the URL in order to have message with the same UID separated correctly.
comment:5 Changed 7 years ago by tomekp
- Milestone changed from 0.1-rc1 to 0.1-stable
comment:6 Changed 6 years ago by thomasb
- Milestone changed from 0.1-stable to 0.1-rc1
It DOES belong to 0.1-rc1!
comment:7 Changed 6 years ago by seansan
Just thought I'd mention something similar.
To reproduce
- When I subscribe to some extra folders
- Go back to the main overview and open 1 message
- Go back to config and unsubscribe from these same folders again
- and open the same message again -
I can still see the folders that I unsubscribed to
comment:8 Changed 6 years ago by seansan
Maybe ticket #1484236 solves the problem and there is a reference there to another ticket regarding the caching (and probably the folderlist problem)
comment:9 Changed 6 years ago by jpingle
- Milestone changed from 0.1-rc1 to 0.2-beta
comment:10 Changed 6 years ago by thomasb
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in Trunk ([ff52bee1])

I'm not able to reproduce this with Firefox 2.0 on Windows XP.
Was your Firefox install on a PC or on a Mac?
Also, do you have message caching enabled in RoundCube?
This could be due in part to more aggressive page caching that Firefox now does (like Opera) to speed up forward/back operations, or it might have something to do with message caching. I am not currently using the message caching features which could explain why I can't reproduce this one...