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 600527 - Only one category allowed for contacts and appointments
Only one category allowed for contacts and appointments
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.28.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
evolution[categories]
Depends on:
Blocks:
 
 
Reported: 2009-11-03 09:24 UTC by Rodrigo Moya
Modified: 2009-11-09 17:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds patch (3.27 KB, patch)
2009-11-09 17:26 UTC, Milan Crha
committed Details | Review

Description Rodrigo Moya 2009-11-03 09:24:38 UTC
You used to be able to select several categories for a contact and appointment, but it seems now only one category is allowed. If you select several, only one will be stored on the contact/appointment.

If only one category is to be allowed, the dialog should be changed, since it gives the impression that several categories can be selected, as it's always been. So I guess it is a bug to not allow more than 1 category
Comment 1 Akhil Laddha 2009-11-04 04:51:08 UTC
It seems to work fine for me in 2.28.1 as well as 2.29.2 (unstable).
Is it in local calendar or any provider ?  

Do you see any warning on terminal when you add any category ?
Comment 2 Rodrigo Moya 2009-11-04 10:51:49 UTC
2.28.1 here also, and seems to happen for all calendars/addressbooks. Will get the terminal output later
Comment 3 Akhil Laddha 2009-11-04 11:22:00 UTC
Rodrigo, it will really good if you can mention your steps with expected result. It will give us clear picture of what is happening wrong, tia
Comment 4 Rodrigo Moya 2009-11-09 09:20:43 UTC
Ok, the steps:

* double click on a contact to open the editor
* click on the categories button
* select more than 1 category (Anniversary, Birthday, Business)
* Press OK on Categories selection dialog
* Click on the Catrgories button again
* Now, only 1 category is selected, although the categories entry on the contact editor shows the 3

If I save the contact, the 3 categories are saved correctly, so it seems it's just a problem with the dialog the 2nd time I open it without having saved the contact. If I save the contact and reopen the editor, the 3 categories show up indeed
Comment 5 Milan Crha 2009-11-09 11:10:22 UTC
Thanks for the update. The other magic is to delete spaces after commas, (the list of your categories should be rather "Anniversary,Birthday,Business") then all of them are checked in the dialog too. I'll try to fix it.
Comment 6 Milan Crha 2009-11-09 17:26:29 UTC
Created attachment 147291 [details] [review]
eds patch

for evolution-data-server;

based on http://tools.ietf.org/html/rfc2445#section-4.8.1.2 the spaces between commas are not supposed to be there, thus changing it back to the previous behaviour. I also faced some issues with respect of autocompletion, thus tried to make it work better as well.
Comment 7 Milan Crha 2009-11-09 17:28:01 UTC
Created commit 029000f in eds master (2.29.2+)