problems modifying Priority values in localconfig (fwd)

Charlotte Hee chee at SLAC.Stanford.EDU
Fri Jan 9 17:22:50 UTC 2004



Hello,

I'm a newbie to bugzilla and have created a problem for myself which
I'm not sure how to solve. Version 2.16.1 was installed onto a linux box
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
P1-P5 back and ran checksetup.pl again. Now when I try to enter a new bug
I get the error:

  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?

thanks,  Chee



More information about the developers mailing list