Hello
> On Nov 15, 2015, at 8:56 AM, [email protected] wrote:
>
> Hi,
>
> I have several IMAP account connected to my user account in sogo.
> When logging in all imap accounts were opened in the last state they where in
> when logging out.
> I say 'were', because after the upgrade to v2.3.3 this is not respected any
> more.
> With version 2.3.3 after login in only the first imap account is opened (and
> nt all the previous folders but the folder showing the inbox level..
>
> So I have to manually open all other accounts and folders to see if I have now
> mail on these accounts.
> When logging out en logging in again, I can start over.
>
> So something has changed, not sure if this was intended as a feature but for
> me it feels like a bug :(
>
> Anyone else seeing this behaviour?
Indeed, we introduced a regression in 2.3.3. I just committed a fix to properly
handle the received data on the server-side. However, you can also fix the
issue with this client-side (JavaScript) patch:
diff --git a/UI/WebServerResources/MailerUI.js
b/UI/WebServerResources/MailerUI.js
index d42e94c..ed215ad 100644
--- a/UI/WebServerResources/MailerUI.js
+++ b/UI/WebServerResources/MailerUI.js
@@ -2401,7 +2401,7 @@ function saveFoldersState() {
if (mailAccounts.length > 0) {
var foldersState = mailboxTree.getFoldersState();
var urlstr = ApplicationBaseURL + "/saveFoldersState";
- var parameters = "expandedFolders=" + foldersState;
+ var parameters = "expandedFolders=" +
jQuery.parseJSON(foldersState).join(',');
triggerAjaxRequest(urlstr, saveFoldersStateCallback, null, parameters,
{ "Content-type":
"application/x-www-form-urlencoded" });
}
Francis--
[email protected]
https://inverse.ca/sogo/lists