Fixed the (harmless) "getfolders asked for nonexisting folder" bug
Sebastian at SSpaeth.de
Thu Jan 5 13:26:50 GMT 2012
I just pushed this to the next branch. It fixes the weird, but harmless
(in the sense that the 2nd sync would work nonetheless) error that one
received when there was a new remote folder.
I expect to put out a new release sometime next week. I hope to have
nailed down the IMAP<->IMAP corruption by then.
Fix "getfolders() asked to get nonexisting folder" bug
When a new remote folder was detected, we tried to create the folder
locally on the Maildir and called repository.forgetfolders() to force a
new scanning of the Maildir. However, that implementation used the
inherited base function that did nothing. We simply needed to implement
forgetfolders() to set self.folder=None, so we would force a new read in
of the updated local folder structure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the OfflineIMAP-project