[Users] [Bug 3212] When msgnum matches a sub-folder name, fetch fails

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sun Jun 15 15:47:52 CEST 2014


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3212

--- Comment #4 from Jeroen Roovers <jer at gentoo.org> ---
(In reply to comment #3)
> Changes related to this bug have been committed.

But now I get a new problem.

When a cached message file, say "2014", already exists, I can add the 2014
folder to IMAP. When I then open the folder, nothing happens yet. So I copy a
message to that new "2014" sub-folder and try to open that message, and yet
again I can't retrieve it:

** (claws-mail:1073): WARNING **: [15:42:04] IMAP error on *****: FETCH error


(claws-mail:1073): Claws-Mail-WARNING **: can't fetch message 1


(claws-mail:1073): Claws-Mail-WARNING **: can't get message file path.


That's because a file "2014" already exists, and now the cache sub-directory
"2014" cannot be created. You took care of the case of creating the file when
the folder exists, but you haven't dealt with the case where the file exists
and the folder is created afterwards.

Wouldn't it be better to fix this issue definitively by changing the namespace
completely (and automatically invalidating and rebuilding the cache when a
namespace collision occurs)?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list