[rt-users] Problem with categories in custom fields

Chet Burgess chet.burgess at ticketmaster.com
Fri Jul 20 17:49:38 EDT 2007


Greetings,
	I had a user report a problem with categories in custom fields recently
that I have been unable to solve. I have looked through the wiki, the
bugs listed in rt, and the mailing lists and I have been unable to find
a solution to my problem.

	We have several custom fields that have been created as a type of
"Select one value", with a validation of "Mandatory". The problem is
that when a user creates a ticket, or updates an existing ticket, the
category that is associated with the name is not saved. As an example if
you created a custom filed with 2 values, each with a different name and
category, only the name is saved with the ticket. The category field
will be left as "-".

	This is causing a problem as some times we have the same name in
different categories (we have the same components within different
products and we use the custom fields to indicate which component and
product the ticket is for).

	I have been able to reproduce on both RT 3.6.1 which we run in
production and on RT 3.6.4 which we run in test. I have noticed that
when creating a new ticket in RT 3.6.4 with a custom field of this type
the following error is being logged.

Jul 18 15:25:32 hostname RT: Use of uninitialized value in string eq at
/usr/local/rt/lib/RT/Record.pm line 1686.
(/usr/local/rt/lib/RT/Record.pm:1686)

	When updating an existing ticket the name value gets updated, but the
category does not get set and remains as just "-". The following message
appears in the "Results" section at the top of the page after clicking
"Save Changes" in both RT 3.6.1 and RT 3.6.4.

User asked for an unknown update type for custom field
ChetTestSelectSingleValue for RT::Ticket object #6

As mentioned I have seen this problem in both RT 3.6.1 and RT 3.6.4. We
are running on RHEL 3 Update 8 with apache 1.3.31, Perl 5.8.4, mod_perl
1.29, and mysql 4.0.18.

Has anyone seen this before and/or know if there is something else I
need to do to enable this functionality?

-- 
Chet Burgess
Senior Unix Systems Administrator
Web Systems, Ticketmaster
chet.burgess at ticketmaster.com
310-360-3251

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070720/c31086cd/attachment.sig>


More information about the rt-users mailing list