[rt-users] RT 3.2.2 - Custom Scrip Conditions on Custom Field changes

Stefan Fischer stefan at van-boxmer.de
Fri Jan 21 02:25:21 EST 2005


After migration from RT 3.06 to 3.2.2 my custom scrip writes errors to 
syslog and nothing else happens. This is my custom scrip (user defined 
condition)

if (($self->TransactionObj->Type eq "CustomField") and
  ($self->TransactionObj->Field eq 2) and
  ($self->TransactionObj->NewValue eq "20 Antrag eingetroffen")) {
   return(1);
} else {
   return(undef);
}

And this is what i get:

Jan 21 08:00:23 debian64 RT: Scrip Prepare 92 died. - $/ as given is 
currently unsupported at /usr/share/perl5/MIME/Body.pmline 194  Stack: 
  [/usr/share/perl/5.8/Carp.pm:86] 
[/usr/share/perl5/IO/ScalarArray.pm:350] 
[/usr/share/perl5/MIME/Body.pm:194] 
[/usr/share/request-tracker3.2/lib/RT/I18N.pm:218] 
[/usr/share/request-tracker3.2/lib/RT/Action/SendEmail.pm:153] 
[/usr/share/request-tracker3.2/lib/RT/Action/Notify.pm:65] 
[/usr/share/request-tracker3.2/lib/RT/ScripAction_Overlay.pm:217] 
[/usr/share/request-tracker3.2/lib/RT/Scrip_Overlay.pm:468] 
[/usr/share/request-tracker3.2/lib/RT/Scrips_Overlay.pm:232] 
[/usr/share/request-tracker3.2/lib/RT/Transaction_Overlay.pm:146] 
[/usr/share/request-tracker3.2/lib/RT/Ticket_Overlay.pm:3707] 
[/usr/share/request-tracker3.2/lib/RT/Ticket_Overlay.pm:3471] 
[/usr/share/request-tracker3.2/lib/RT/Ticket_Overlay.pm:3379] 
[/usr/share/request-tracker3.2/lib/RT/Interface/Web.pm:1153] 
[/usr/share/request-tracker3.2/html/Ticket/Modify.html:71] 
[/usr/share/request-tracker3

Thanks in Advance!
-- Stefan



More information about the rt-users mailing list