GNOME Bugzilla – Bug 336713
Can't operate addressbook after double pasting more than 20 contacts
Last modified: 2006-04-21 10:11:02 UTC
Please describe the problem: Doulble paste more than 20 contacts and *cancel* duplicate at the second paste, then we can't add any contacts again. Steps to reproduce: 1. launch evolution 2. import 25 contacts to a specified addressbook. 3. cut above 25 contacts. 4. paste contacts in current addressbook. 5. repeat step 4, paste again. And click "Cancel" buttons in all duplicate confirm dialogs, 6. can't add or paste any contacts again. Actual results: Can't add or paste any contacts after double paste more than 20 contacts. Expected results: Still work fine after double paste. Does this happen every time? Other information:
Created attachment 62444 [details] A sample vard containing more than 20 contacts. Use to reproduce.
Created attachment 62447 [details] [review] Patch When we prepare to add a contact, one EContactMergingLookup will add to merging queue. However, if selecting "cancel duplicate" in confirmation dialog when doulbe pasting, those EContactMergingLookup can't be removed. So after the merging queue is full, saying 20 requests. No contacts can be added again for any addressbook. Solution is making finished_lookup() is always invoked.
Patch looks good to me. Fix Committed to cvs head.
Devashish, thanks for your review. Can we check this patch in gnome-2-14 bransh too?
Also committed to gnome-2-14 bransh. Thanks.