[rt-users] Problem with ExtractCustomFieldValues

Mathew Snyder theillien at yahoo.com
Wed Jun 20 00:32:12 EDT 2007


It's the actual scrip which runs ExtractCustomFieldValues.pm.

Condition: On Create
Action: Extract Custom Field Values
Template: Global template: ExtractEnvironment
Stage: TransactionCreate
Custom condition:
Custom action Preparation code: return 1;
Custom action cleanup code:

Template ExtractEnvironment based on how ExtractCustomFieldValues.pm works:
Environment|body|^CUSTOMER ENVIRONMENT\s+\[(\w+)\]$

Mathew
Keep up with me and what I'm up to: http://theillien.blogspot.com


Gene LeDuc wrote:
> Mathew, what is scrip 18 doing?
> 
> At 12:37 PM 6/19/2007, Mathew Snyder wrote:
>> So far it hasn't posed a problem as it appears to be working but I was
>> looking
>> at the Apache error_log today and saw this:
>> [Tue Jun 19 18:02:26 2007] [error]: Scrip Commit 18 died. - Can't call
>> method
>> "Content" on an undefined value at
>> /usr/local/rt-3.6.1//lib/RT/Action/ExtractCustomFieldValues.pm line 47.
>>
>> Stack:
>>   [/usr/local/rt-3.6.1/lib/RT/Action/ExtractCustomFieldValues.pm:47]
>>   [/usr/local/rt-3.6.1/lib/RT/ScripAction_Overlay.pm:240]
>>   [/usr/local/rt-3.6.1/lib/RT/Scrip_Overlay.pm:506]
>>   [/usr/local/rt-3.6.1/lib/RT/Scrips_Overlay.pm:193]
>>   [/usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:179]
>>   [/usr/local/rt-3.6.1/lib/RT/Record.pm:1446]
>>   [/usr/local/rt-3.6.1/lib/RT/Ticket_Overlay.pm:745]
>>   [/usr/local/rt-3.6.1/share/html/index.html:86]
>>   [/usr/local/rt-3.6.1/share/html/autohandler:279]
>> (/usr/local/rt-3.6.1//lib/RT/Scrip_Overlay.pm:514)
>>
>> Anyone know what's happening here?
> 
> 



More information about the rt-users mailing list