[Rt-devel] RT 3.5.3 Custom Field Problems

Joseph_Micciche at Progressive.com Joseph_Micciche at Progressive.com
Wed Sep 21 14:50:35 EDT 2005


>
> > >
> > > context:
> > > ...
> > > 50:     % my $count;
> > > 51:     % foreach my $Object (@Objects) {
> > > 52:     <tr>
> > > 53:     % my $id = "Object-".$Object->id."-CF-".$id;
> > > 54:     % my $id = "Object-".$Object->id."-CF-".$id;
> > Code duplication here.

> Nice catch. (Merge bug) Fixed in 3864

I experienced the exact same problem on our RT3.5.3. Removed this duplicate
code and the Custom Field Problem has now morphed into:

error:  Error during compilation of
/usr/local/rt/share/html/Admin/Elements/AddCustomFieldValue:
syntax error at /usr/local/rt/share/html/Admin/Elements/AddCustomFieldValue
line 76, near "},"


context:  ...
72:  </TABLE>
73:
74:  <%init>
75:  </%init>
76:  <%args>
77:  $CustomField => undef
78:  </%args>
79:

code stack:  /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm:326
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:892
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:996
/usr/local/rt/share/html/Admin/CustomFields/Modify.html:107
/usr/local/rt/share/html/Admin/autohandler:47
/usr/local/rt/share/html/autohandler:247

raw error

Error during compilation of
/usr/local/rt/share/html/Admin/Elements/AddCustomFieldValue:
syntax error at /usr/local/rt/share/html/Admin/Elements/AddCustomFieldValue
line 76, near "},"



Trace begun at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm
line 589
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x940490c)',
 '/usr/local/rt/share/html/Admin/Elements/AddCustomFieldValue', 'Error
during compilation of :^Jsyntax error at
/usr/local/rt/share/html/Admin/Elements/AddCustomFieldValue line 76, near
"},"^J^J^JStack:^J  [/usr/local/lib/perl5/site_perl/5.8.6
/HTML/Mason/Interp.pm:320]^J  [/usr/local/lib/perl5/site_perl/5.8.6
/HTML/Mason/Request.pm:892]^J  [/usr/local/lib/perl5/site_perl/5.8.6
/HTML/Mason/Request.pm:996]^J
[/usr/local/rt/share/html/Admin/CustomFields/Modify.html:107]^J
[/usr/local/rt/share/html/Admin/autohandler:47]^J
[/usr/local/rt/share/html/autohandler:247]^J') called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm line 326
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x940490c)',
'/Admin/Elements/AddCustomFieldValue') called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 892
HTML::Mason::Request::fetch_comp('HTML::Mason::Request::ApacheHandler=HASH(0x99a7bc0)',
 '/Admin/Elements/AddCustomFieldValue') called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 996
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x99a7bc0)',
 '/Admin/Elements/AddCustomFieldValue', 'CustomField',
'RT::CustomField=HASH(0x99a8514)') called at
/usr/local/rt/share/html/Admin/CustomFields/Modify.html line 107
HTML::Mason::Commands::__ANON__('id', 9, 'id', 9, 'id', 9) called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99a1944)',
 'id', 9, 'id', 9, 'id', 9) called at /usr/local/lib/perl5/site_perl/5.8.6
/HTML/Mason/Request.pm line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef, 'id', 9, 'id', 9, 'id', 9) called
at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x99a7bc0)',
 'id', 9) called at /usr/local/rt/share/html/Admin/autohandler line 47
HTML::Mason::Commands::__ANON__('id', 9, 'id', 9) called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x98f8444)',
 'id', 9, 'id', 9) called at /usr/local/lib/perl5/site_perl/5.8.6
/HTML/Mason/Request.pm line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef, 'id', 9, 'id', 9) called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x99a7bc0)',
 'id', 9) called at /usr/local/rt/share/html/autohandler line 247
HTML::Mason::Commands::__ANON__('id', 9) called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x96baf14)',
 'id', 9) called at /usr/local/lib/perl5/site_perl/5.8.6
/HTML/Mason/Request.pm line 1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'id', 9) called at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm
line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x99a7bc0)')
 called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm
line 134
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6
/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x99a7bc0)')
 called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm
line 827
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9402434)',
 'Apache=SCALAR(0x98e9ae8)') called at /usr/local/rt/bin/webmux.pl line 122
eval {...} at /usr/local/rt/bin/webmux.pl line 122
RT::Mason::handler('Apache=SCALAR(0x98e9ae8)') called at /dev/null line 0
eval {...} at /dev/null line 0



More information about the Rt-devel mailing list