<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt">Dear rt-users<br><br>I created the following ActionScrip Module below -  the Module is registered.<br><br>But i get the following Error:<br><br>Oct 26 14:42:49 rt RT: Scrip Prepare 14 died. - Can't locate object method "new" via package "RT::Action::OpenSystemCustomFields" at /usr/share/request-tracker4/lib/RT/ScripAction.pm line 175.#012#012Stack:#012  [/usr/share/request-tracker4/lib/RT/ScripAction.pm:175]#012  [/usr/share/request-tracker4/lib/RT/Scrip.pm:443]#012  [/usr/share/request-tracker4/lib/RT/Scrips.pm:252]#012  [/usr/share/request-tracker4/lib/RT/Transaction.pm:179]#012  [/usr/share/request-tracker4/lib/RT/Record.pm:1459]#012  [/usr/share/request-tracker4/lib/RT/Ticket.pm:676]#012  [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:1711]#012 
 [/usr/share/request-tracker4/html/Ticket/Display.html:128]#012  [/usr/share/request-tracker4/html/Ticket/Create.html:444]#012  [/usr/share/request-tracker4/html/Ticket/autohandler:19]#012  [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:568]#012  [/usr/share/request-tracker4/lib/RT/Interface/Web.pm:318]#012  [/usr/share/request-tracker4/html/autohandler:53] (/usr/share/request-tracker4/lib/RT/Scrip.pm:451)<br><br>I'm using rt-4.0.5.<br><br>What am I doing wrong ? <br><br>Thanks Sincerely<br><br>Denis<br><br><br>#-------------------------------------OpenSystemCustomFields.init-------------------------------------------#<br><br># To initialize the OpenSystemCustomFields ActionScrip:<br># rt-setup-database-4 --action insert --datafile OpenSystemCustomFields.init<br><br>@ScripActions = (<br>{<br>   Name        => 'OpenSystemCustomFields',<br>   Description => 'Create
 CustomFields from data retrieved out of the OpenSystem DB',<br>   ExecModule  => 'OpenSystemCustomFields',<br>   Argument    => ''<br> },<br>);<br><br><br><br><br>#-------------------------------------OpenSystemCustomFields.pm-------------------------------------------#<br>use strict;<br>use warnings;<br><br>package RT::Action::OpenSystemCustomFields;<br><br>#use base qw(RT::Action);<br><br>#use base qw(RT::Action::Generic);<br><br>sub Prepare {<br>  my $self = shift;<br>  return 1;<br>}<br><br>sub Commit {<br>  my $self = shift;<br>  return 1;<br>}<br><br># ;)<br>1;<br><br><br><br><br><br></div></body></html>