[Rt-devel] RT 3.4.HEAD bug in ticket display?

Todd Chapman todd at chaka.net
Mon Jun 6 12:38:00 EDT 2005


The ShowSummary component uses this code to determine if
custom fields need to be shown:

if ($Ticket->QueueObj->TicketCustomFields->First) {

The problem seems to be that TicketCustomFields does
a check on right SeeQueue, so even if you have the
right to SeeTicket and SeeCustomField, you can't see
the custom fields for this ticket.

It seems that Queue::TicketCustomFields should be
deprecated in favor of Record::CustomFields and the
SeeQueue check in TicketCustomFields should be removed
so that things work right for legacy code.

Anyone see a problem with this?

-Todd


More information about the Rt-devel mailing list