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 630361 - Categories editing fixes
Categories editing fixes
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
evolution[categories]
: 630331 634113 634807 635863 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-22 19:50 UTC by pko
Modified: 2011-01-20 11:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds patch (6.79 KB, patch)
2010-10-07 11:48 UTC, Milan Crha
committed Details | Review

Description pko 2010-09-22 19:50:20 UTC
When adding new categories the new entry will be written to the file ~/.evolution/categories.xml with default = 0. All other entries in this file is having default = 1. The new entry with default value can be assigned to your contacts and the show button will work. But you cannot edit or delete the entry. When changing the value to 1, then you can manage the entry again. 

The search entry do small and capital letters as the same despite you can have entries like x and X representing 2 entries.
Comment 1 Milan Crha 2010-09-27 19:21:42 UTC
Confirming. Two issues:
a) Should be able to edit also non-default categories
b) Category names are case insensitive
Comment 2 Milan Crha 2010-10-07 11:48:19 UTC
Created attachment 171889 [details] [review]
eds patch

for evolution-data-server;

Ah, I misunderstood few things earlier, but I'm fine with them now. This patch is fixing couple things:
a) categories name comparison is case insensitive
b) one cannot add a category with empty name
c) 'default' category property is not the same as 'searchable' property
d) default categories are automatically searchable
e) user's new categories are searchable (but not default)
f) saving 'default' category checks for non-localized name too
g) removing category finally works too
Comment 3 Milan Crha 2010-10-07 11:52:40 UTC
Created commit 6863f2c in eds master (2.91.1+)
Created commit 41a5bfb in eds gnome-2-32 (2.32.1+)
Comment 4 Milan Crha 2010-10-07 11:53:28 UTC
*** Bug 630331 has been marked as a duplicate of this bug. ***
Comment 5 Milan Crha 2010-11-29 19:45:33 UTC
*** Bug 635863 has been marked as a duplicate of this bug. ***
Comment 6 Milan Crha 2011-01-19 12:15:06 UTC
*** Bug 634113 has been marked as a duplicate of this bug. ***
Comment 7 Milan Crha 2011-01-20 11:59:07 UTC
*** Bug 634807 has been marked as a duplicate of this bug. ***