Re: [SOGo] v2.3.3 Folders open/close state not respected after logout/login

2015-11-19 Thread Ruud van Lent

same here :) very pleased and thanks for the quick fix! Highly appreciated!
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] v2.3.3 Folders open/close state not respected after logout/login

2015-11-19 Thread Ian McMichael

On 19/11/15 13:52, Ludovic Marcotte wrote:
v2.3.3a has just been released with the fix. 


Many thanks.  All verified fixed on our servers now...
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] v2.3.3 Folders open/close state not respected after logout/login

2015-11-19 Thread Ludovic Marcotte

On 16/11/2015 05:00, Ian McMichael wrote:
Yes, confirmed on three separate systems running v2.3.3 here too. No 
work-around found as yet... 

v2.3.3a has just been released with the fix.

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] v2.3.3 Folders open/close state not respected after logout/login

2015-11-16 Thread Francis Lachapelle
Hello

> On Nov 15, 2015, at 8:56 AM, ruud.van.l...@zonnet.nl 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-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] v2.3.3 Folders open/close state not respected after logout/login

2015-11-16 Thread Ian McMichael

On 15/11/15 13:56, ruud.van.l...@zonnet.nl wrote:

Anyone else seeing this behaviour?


Yes, confirmed on three separate systems running v2.3.3 here too. No 
work-around found as yet...

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] v2.3.3 Folders open/close state not respected after logout/login

2015-11-15 Thread ruud.van.lent
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?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists