[rt-devel] CustomFieldGroupings

Emmanuel Lacour elacour at easter-eggs.com
Fri Nov 21 03:46:45 EST 2014


On Fri, Nov 21, 2014 at 08:34:29AM +0100, Christian Loos wrote:
> Hi,
> 
> is it really intended that CustomFieldGroupings don't respect the CF
> name case [1]?
> 
> Example:
> * create CF "name"
> * create CF "NAME"
> * put this in RT_Site_Config.pm:
> Set(%CustomFieldGroupings, 'RT::Ticket' => [ 'Test' => ['name'] ]);
> 
> The result is that both CF's appear in the "Test" grouping, which is
> maybe not what the admin wanted.
> 
> I think it isn't the best way to use the CF name as identifier for
> CustomFieldGroupings. Except the above example, it is currently not
> possible to have two CF's with the same name and put only one of them in
> a CustomFieldGrouping.
> 
> A better way would be to use the CF id as the identifier.
> 


who is going to like using numerical identifiers in configuration?

better to:

- fix the query to be case sensitive (even I don't think many people
  use multiple CF with only case changes within the same queue). It's a
  bug imho.
- allow to do per queue grouping (this is a must have, a ticket is
  already open for this)

-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com


More information about the rt-devel mailing list