[Rt-devel] RT 3.5.3 Custom Field Problems

Ruslan Zakirov ruslan.zakirov at gmail.com
Tue Sep 20 17:03:14 EDT 2005


On 9/20/05, Stewart Tranter <S.G.Tranter at lboro.ac.uk> wrote:
> Hello everyone,
> 
> Some, all or none of you may have been following my trials and
> tribulations on getting the latest versions of RT to work with
> mod_perl2, or as it turns out, mod_perl 1.99.22 (apparently the first
> version of mod_perl2).
> 
> Anyhow, I've now managed to get RT3.5.3 up and running, but I encounter
> the following problem, possibly a bug?
> 
> When I create "Custom fields for tickets" I get the following error when
> clicking on "Applies To":
> 
> error:          Error during compilation of
> /opt/rt3/share/html/Admin/Elements/PickObjects:
> "my" variable $id masks earlier declaration in same scope at
> /opt/rt3/share/html/Admin/Elements/PickObjects line 54.
> 
> 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.

[snip]

-- 
Best regards, Ruslan.


More information about the Rt-devel mailing list