problems modifying Priority values in localconfig (fwd)

Christian Robottom Reis kiko at async.com.br
Tue Jan 13 00:52:18 UTC 2004


On Fri, Jan 09, 2004 at 09:22:50AM -0800, Charlotte Hee wrote:
> by one of my colleagues and I'm teaching myself how bugzilla works. I am
> trying to modify the "Priority" values in the file localconfig. I wanted
> to change the values P1-P5 to a more descriptive text such as very low,
> low, medium, high, very high. I edited localconfig, putting in the text
> that I wanted, then ran checksetup.pl. This didn't work so I put the

When you say "didn't work", what do you mean?

>   Can't use an undefined value as an ARRAY reference at
>   /opt/babar-bugzilla/enter_bug.cgi line 243
> 
> Looking at enter_bug.cgi, line 243 it shows this code snippet:
>   if (0 == @{$::components{$product}}) {
>     my $error = "Sorry; there needs to be at least one component for this" .
>                 "product in order to create a new bug. ";
>     if (UserInGroup('editcomponents')) {
>         $error .= "<a href=\"editcomponents.cgi\">" .
>                   "Create a new component</a>\n";
>     }
>     .
>     .
>     .
> 
> I'm not sure how my minor modification caused any undefined references,
> especially since I put things back the way they were initially.
> Any ideas on what I've done wrong and how I can fix this?

It *seems* that these problems are unrelated. I'd suggest -- before
spending any more time on this -- updating to the latest 2.16 release,
which is currently 2.16.4. It shouldn't have any outstanding problems,
and if it does, we'll be in good shape to fix it, too!

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331



More information about the developers mailing list