After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313081 - [PATCH] Evolution Contact List shows deleted Exchange contact folder
[PATCH] Evolution Contact List shows deleted Exchange contact folder
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
1.0.x
Other All
: Normal normal
: 2.5
Assigned To: evolution-addressbook-maintainers
Evolution QA team
: 332961 (view as bug list)
Depends on:
Blocks: 327514
 
 
Reported: 2005-08-10 09:54 UTC by Xavier Duret
Modified: 2006-07-24 11:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to delete the folder e-source and also get the new folders on refresh (2.88 KB, patch)
2006-06-19 11:45 UTC, Sushma Rai
committed Details | Review

Description Xavier Duret 2005-08-10 09:54:13 UTC
Please describe the problem:
Evolution displays deleted Exchange contact folders.

Steps to reproduce:
1. Open Outlook.
2. Create a new contact folder in Outlook call it "test".
3. Close Outlook.
4. Start Evolution: Evolution shows the new contact folder "test".
5. Close Evolution.
6. Open Outlook.
7. Delete the "test" folder.
8. Close Outlook.
9. Open Evolution.
10. The "test" folder is still there.

If you repeat the operation several times, you will see "test1", "test2" in
Evolution but never in Outlook.
The problem is still present if you remove all your .gnome* and .gconf directory
and redo the configuration of your account.


Actual results:
A deleted folder still appears.

Expected results:
The deleted folder should not appear.

Does this happen every time?
It happens every time.

Other information:
Comment 1 Sushma Rai 2005-08-10 11:12:30 UTC
exchange specific.
Comment 2 Sushma Rai 2006-03-08 08:07:09 UTC
*** Bug 332961 has been marked as a duplicate of this bug. ***
Comment 3 Sarfraaz Ahmed 2006-04-21 12:34:39 UTC
It is not possible for evolution to know about the folders that have been deleted by some other client. Even though a restart of evolution may sound like a work around, since the backend would not have the removed folder in its new list, there is no way for the backend to notify the UI to remove the dead entries in GCONF.
Comment 4 Poornima 2006-06-15 10:13:06 UTC
Confirming this bug based on duplicate bug
Comment 5 Sushma Rai 2006-06-19 11:45:27 UTC
Created attachment 67622 [details] [review]
patch to delete the folder e-source and also get the new folders on refresh

When a folder is deleted from other client, automatically updating the tree
requires lot more changes to the code of rescan tree. But as of now, evolution
doesn't even allow to delete the folder deleted by other client. only way to
get rid of the stale folder is removing the gconf source manually or re-creating the account. This patch allows the deletiton of the folder.

This patch also gets the new contacts folders on view refresh, before new folders were
read only on restart.