View Issue Details

IDProjectCategoryView StatusLast Update
0003386SOGoWeb Mailpublic2015-11-18 14:47
ReporterHeiko Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version12.04.5 LTS
Product Version2.3.3 
Fixed in Version2.3.3a 
Summary0003386: Folder list in webmail gets folded on reload or re-login
Description

The folder list gets folded (below the inbox) each time you login or press the browsers reload button. You can expand the folder list by clicking the "+" in front of the inbox but each time you reload or login it is folded again. It seems like this behaviour exists since the last sogo update.

Steps To Reproduce
  1. Login to sogo webmail
  2. Create a folder below your inbox if none exists.
  3. Press the "+" in front of your inbox to expand the folder
  4. Press the reload button of you browser
TagsNo tags attached.

Activities

francis

francis

2015-11-17 14:49

administrator   ~0009100

Last edited: 2015-11-18 14:47

https://github.com/inverse-inc/sogo/commit/a9984d948744e58e04ad43b599aacdcddf20950a

As a temporary solution until 2.3.3a is out, you can apply the attached patch to modify MailerUI.js (and avoid having to recompile sogod).

francis

francis

2015-11-17 14:49

administrator  

bug3386-temp-patch.diff (728 bytes)   
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" });
     }
bug3386-temp-patch.diff (728 bytes)   

Issue History

Date Modified Username Field Change
2015-11-17 14:16 Heiko New Issue
2015-11-17 14:49 francis Note Added: 0009100
2015-11-17 14:49 francis Status new => resolved
2015-11-17 14:49 francis Fixed in Version => 2.3.4
2015-11-17 14:49 francis Resolution open => fixed
2015-11-17 14:49 francis Assigned To => francis
2015-11-17 14:49 francis File Added: bug3386-temp-patch.diff
2015-11-18 14:47 francis Fixed in Version 2.3.4 => 2.3.3a
2015-11-18 14:47 francis Note Edited: 0009100