delete-duplicate-messages for IMAP folders is unsafe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
In Progress
|
High
|
Uday Reddy |
Bug Description
Here is a happening:
Did vm-get-new-mail on an IMAP folder. The network connection was non-functional and VM hung. When the network connection was fixed, it ended with
vm-imap-
When I did another vm-get-new-mail, there was another error:
vm-update-
But this seems to have aborted the vm-get-new-mail for some reason. The new messages retrieved in the process presumably have nil fields for UID's.
The next try of vm-get-new-mail fetched new copies of the messages, which were fine, but vm-delete-
Then VM says:
Found 2 messages with invalid UIDs. Expunge them? (y or n)
The invalid UID's were for the first copies, and vm-delete-
This is clearly unsafe.
Related branches
Changed in vm: | |
status: | Triaged → Fix Committed |
Fixed in rev. 1465.1.2.