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 632962 - Duplicate "On this computer" sources after update
Duplicate "On this computer" sources after update
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.32.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 634794 638843 642229 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-10-23 09:24 UTC by Michael Monreal
Modified: 2011-03-01 10:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (38.05 KB, image/png)
2010-10-23 09:24 UTC, Michael Monreal
  Details
evo patch (12.09 KB, patch)
2010-11-24 12:16 UTC, Milan Crha
committed Details | Review
eds patch (2.16 KB, patch)
2010-11-24 12:32 UTC, Milan Crha
committed Details | Review

Description Michael Monreal 2010-10-23 09:24:47 UTC
Created attachment 173066 [details]
Screenshot

After upgrading from evolution 2.30.x to 2.32.0 (Fedora 13 -> Fedora 14) the "On this computer" sources are duplicated in Calendar, Address book, Tasks and Notes.

For example, in Address book, I have "On this computer" with both "Personal" and "Collected". The "Collected" works, the "Personal" gives an error (see screenshot). However there is another "On this computer" section at the bottom which has a working "Personal" address book (this one has all my contacts).

I think there must be something wrong with the migration. Any way to fix this, maybe manually?
Comment 1 André Klapper 2010-10-23 13:50:14 UTC
(In reply to comment #0)
> Any way to fix this, maybe manually?

My guess is to edit the gconf key for it under /apps/evolution/*/sources
Comment 2 Matthew Barnes 2010-10-23 13:57:12 UTC
This was probably caused by starting Evolution 2.32 with Evolution-Data-Server 2.30 still running.
Comment 3 Michael Monreal 2010-10-23 14:32:21 UTC
(In reply to comment #2)
> This was probably caused by starting Evolution 2.32 with Evolution-Data-Server
> 2.30 still running.

No, as I said, this was a fresh installation (keeping the home directory) and it hat e-d-s 2.32.0 already
Comment 4 Michael Monreal 2010-10-23 14:41:18 UTC
(In reply to comment #1)
> My guess is to edit the gconf key for it under /apps/evolution/*/sources

I did this now. For the address book, I had to remove the uri=... part and the extra "on this computer" from the list. For all other components, I only had to do the second step.

I think this is "fixed" for me now.
Comment 5 spammail 2010-11-24 08:28:53 UTC
I had exactly the same problem (also migrated from 2.30 to 2.32) and could also solve it by editing the gconf settings. thanks!
Comment 6 Milan Crha 2010-11-24 11:38:30 UTC
Confirming. With git master is more fun, it adds a new Personal every time the application is started. I'm about to fix this, as there left some places where this can happen.
Comment 7 Milan Crha 2010-11-24 12:16:40 UTC
Created attachment 175156 [details] [review]
evo patch

for evolution;

This fixes the issue. I also realized that the changing from old group's base uri to new "local:" is not done, because on reading the ESourceGroup decoder from XML hides this to the caller, and changes the any uri beginning with "file:" to  "local:", but not saving this, thus the GConf key still has "file://..." there.
Comment 8 Milan Crha 2010-11-24 12:32:55 UTC
Created attachment 175160 [details] [review]
eds patch

for evolution-data-server;

And this is to distinguish between the change in auto-migration and save it properly.
Comment 9 Milan Crha 2010-11-24 12:39:55 UTC
Created commit f2bcc5e in eds master (2.91.3+)
Created commit 51d17b4 in evo master (2.91.3+)

Created commit 132709b in eds gnome-2-32 (2.32.2+)
Created commit 42d44c1 in evo gnome-2-32 (2.32.2+)
Comment 10 Milan Crha 2010-12-13 10:31:32 UTC
*** Bug 634794 has been marked as a duplicate of this bug. ***
Comment 11 Pacho Ramos 2010-12-18 12:50:36 UTC
(In reply to comment #9)
> Created commit f2bcc5e in eds master (2.91.3+)
> Created commit 51d17b4 in evo master (2.91.3+)
> 
> Created commit 132709b in eds gnome-2-32 (2.32.2+)
> Created commit 42d44c1 in evo gnome-2-32 (2.32.2+)

Is a 2.32.2 release for evo and eds planned in the near future? Thanks for the info :-)
Comment 12 Milan Crha 2010-12-20 10:32:40 UTC
I do not know exact date, I'm sorry, but it'll definitely happen, I suppose some time in January.
Comment 13 Akhil Laddha 2011-01-07 03:32:16 UTC
*** Bug 638843 has been marked as a duplicate of this bug. ***
Comment 14 Milan Crha 2011-03-01 10:26:55 UTC
*** Bug 642229 has been marked as a duplicate of this bug. ***