6.0.0-beta1
7/6/25

[#8250] category_color _default_ not used when creating a new category
Summary category_color _default_ not used when creating a new category
Queue Horde Base
Queue Version 3.3.4
Type Bug
State Not A Bug
Priority 1. Low
Owners Horde Developers (at)
Requester clement.hermann (at) businessdecision (dot) com
Created 05/07/2009 (5904 days ago)
Due
Updated 10/05/2012 (4657 days ago)
Assigned 05/12/2009 (5899 days ago)
Resolved 10/05/2012 (4657 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/05/2012 12:54:33 AM Michael Rubinsky Comment #5
State ⇒ Not A Bug
Reply to this comment
Rejecting because categories are no longer going to be supported going 
forward.
05/12/2009 03:12:13 PM Jan Schneider Comment #4
Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
Reply to this comment
Ah, right. Unfiled should be used where categories are missing, 
Default where we don't have a color set for that category.
05/12/2009 02:42:12 PM clement (dot) hermann (at) businessdecision (dot) com Comment #3 Reply to this comment
I'm not sure actually what this color is supposed to be used for at
all. Anyone?
My understanding is, this is the color used when a new category is 
created, or when an unknown category is present in the calendar (thus 
creating an implicit, new category).



There are references to it in lib/Horde/Prefs/CategoryManager.php, but 
(and this is the bug here), the preference is never used.
05/12/2009 02:15:42 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
I'm not sure actually what this color is supposed to be used for at 
all. Anyone?
05/07/2009 12:46:33 PM clement (dot) hermann (at) businessdecision (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ category_color _default_ not used when creating a new category
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
The _default_ color defined in prefs.php (or in prefs backend) is 
never used. The color used is always #FFFFFF for new categories or 
category without a color defined.



// category colors

$_prefs['category_colors'] = array(

     'value' => '_default_:#939eff|_unfiled_:#ccdeff',

     'locked' => false,

     'shared' => true,

     'type' => 'implicit'

);



(_unfiled_ works fine).



Regards,



Clément Hermann

Saved Queries