Ticket #53 (defect)
Opened 2 years ago
Last modified 2 years ago
Courier refreshing entire folders in stead of appending to the cache
Status: closed (fixed)
| Reported by: | pvanhoof | Assigned to: | pvanhoof |
|---|---|---|---|
| Priority: | critical | Milestone: | A first release |
| Component: | libtinymail-camel | Version: | 1.0 |
| Keywords: | Cc: | ||
Strange problem with Courier and imap_rescan: Folders that have no reason for a complete removal of the cached data are getting their entire cached data being removed. I looks like camel-imap-folder.c:1212 is doing this (it's a little loop that adds remaining stuff on the removed array) is causing it.
However, why "seq" is at 0 (which it is, in stead of at the end of the sequence) is the strange thing here. "seq" is the sequence number coming from the UID FETCH IMAP result. So after the loop that should be, for example, in case there are 30 items, 29 or 30 or something like that. But in stead it's 0.
So the remainder is: 0 until what the size of the cache was. It'll remove all from the cache.
It's only happening with courier so I'm suspecting something interfered with the UID FETCH like for example IDLE is still on, and the command happened (but in that case, it should have resulted in an error situation)
Attachments
Change History
05/08/07 21:03:33: Modified by pvanhoof
- status changed from new to closed.
- resolution set to fixed.

Should be fixed