After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 662920 - creates MH folders, but needs restart to update folder list
creates MH folders, but needs restart to update folder list
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-10-28 09:55 UTC by below
Modified: 2012-02-16 18:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds patch (764 bytes, patch)
2012-02-16 18:23 UTC, Milan Crha
committed Details | Review

Description below 2011-10-28 09:55:23 UTC
When I create a folder in a MH style mail account, Evo creates the corresponding directory on disk, but it doesn't update the folder list. The new folder is shown only after a restart of Evolution.



A related problem: The error message if you try to create a folder the second time is misleading:

Fehler bei »Ordner »tester« wird angelegt«.
Ordner konnte nicht abgerufen werden: /home/mbelow/Mail///tester: Erfolg

Translates to:

Error in »Folder »tester« is being created«.
Folder couldn't be found: /home/mbelow/Mail///tester: success

What Evo tries to say is: there is a problem because the folder already exists (even if I'm not showing it to you). This should be put more clearly, maybe:

"Folder already exists. Restart Evolution to use it."

Thanks for your efforts

Michael
Comment 1 Milan Crha 2012-02-16 17:51:43 UTC
Thanks for a bug report. The error got "improved" meanwhile, it claims about "No such file or directory" now (3.3.5). I also see folder tree properly updated if I create subfolder of an MH folder, but if I try to create a new folder directly under the account node in the folder tree the directory is not shown immediately, but only after evolution's restart. Thus I'm confirming this bug.
Comment 2 Milan Crha 2012-02-16 18:23:15 UTC
Created attachment 207800 [details] [review]
eds patch

for evolution-data-server;

Such hard fix was required. The thing is that the generated folder path contained //, which is incorrect and thus "File not found" error. With this fix it claims "File exists" and the folder tree is updated immediately.
Comment 3 Milan Crha 2012-02-16 18:25:06 UTC
Created commit 3136d3d in eds master (3.3.90+)