On Mon, Jan 21, 2008 at 02:56:27PM +0100, Ham MI-ID, Torsten Brumm wrote:
> Hi Emmanuel,
> The error message is getting better ;-)
> 
> Jan 21 13:53:30 bruchtal-www3 RT: Template parsing error: Can't locate object 
> method "First" via package "Shipment" (perhaps you forgot to load 
> "Shipment"?) at template line 1.  Stack:   [template:1]
> 
> This is the correct Template, without any replacements:
> 
> To: {$Ticket->FirstCustomFieldValue('Occured in Module')->First->Description;}

You didn't write exactly what I said ;) "$Ticket->CustomFieldValues", not 
"$Ticket->FirstCustomFieldValue".

See the function FirstCustomFieldValue in lib/RT/Record.pm to understand it.


-- 
Emmanuel Lacour ------------------------------------ Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -     Fax: +33 (0) 1 41 35 00 76
mailto:[EMAIL PROTECTED]   -    http://www.easter-eggs.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to