View Issue Details

IDProjectCategoryView StatusLast Update
0004287SOGoWeb Mailpublic2017-09-18 16:24
Reportercedric.archambeau Assigned Tofrancis  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSUbuntuOS Version16.04 LTS
Product Versionnightly master 
Summary0004287: [NGImap4Connection] Can't no more access to folder after renaming it
Description

Since few days, if we rename a folder, it seems to be OK but we can't no more access to it after browsing in another one : "An error occured while communicating with the mail server".

No problem with Thunderbird

It seems that the folder name is kept in cache UI with old name (read below).

Tried to flush_all in memcached between every step, no way.

Steps To Reproduce

1) Create a folder test in SoGO
2) Rename it test2 in SoGO
3) Refresh Thunderbird : folder name is changed
4) Browse another folder in SoGO
5) Go to test2 in SoGO : "An error occured..."

Log file with imap debug :
[ERROR] <0x0x97142689e0[NGImap4Connection]> could not select URL: imap://user%40domoin.tld@localhost/test/: {RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: test (0.001 + 0.000 secs).\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: test (0.001 + 0.000 secs)."; result = 0; }

SoGO tries to open "test" whereas folder is renamed "test2".

Additional Information

Dovecot with maildir - separator . (dot)

Sogo.conf : NGImap4ConnectionStringSeparator = ".";

Can't reproduce on demo.sogo.nu.

TagsNo tags attached.

Relationships

related to 0004290 resolvedfrancis When Imap Folder contains a number, it is filtered out and there is an error in the webmail starting from sogo-3.2.10.20170915 

Activities

cedric.archambeau

cedric.archambeau

2017-09-18 13:07

reporter   ~0012303

As suggested by rongten in 0004290, the bug is relative to folders with numbers.

This regression could have been created by 7e4e2863b6622764cd6ac2d0564a124c3821ca3b

francis

francis

2017-09-18 16:24

administrator   ~0012308

Fixed.

See https://github.com/inverse-inc/sogo/commit/d02f0db0b48f0631ecbaaa6d5f015e5407b035a9

Issue History

Date Modified Username Field Change
2017-09-14 23:36 cedric.archambeau New Issue
2017-09-18 13:07 cedric.archambeau Note Added: 0012303
2017-09-18 16:24 francis Note Added: 0012308
2017-09-18 16:24 francis Status new => resolved
2017-09-18 16:24 francis Resolution open => fixed
2017-09-18 16:24 francis Assigned To => francis
2017-09-18 16:24 francis Relationship added related to 0004290