Closed Bug 329177 Opened 19 years ago Closed 19 years ago

Bugzilla fails when there are no keywords

Categories

(Bugzilla :: Installation & Upgrading, defect)

2.23
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file)

globals.pl used to check for the existence of @::legal_versions to determine whether or not versioncache had been read in. In bug 328602 I eliminated @::legal_versions, and replaced that with a check for @::legal_keywords. However, apparently perl thinks that @::legal_keywords is actually *undefined* if it's empty, causing globals.pl to die, thinking that it couldn't regenerate versioncache. Since we're removing versioncache anyway, let's just remove that check entirely. It serves basically no purpose -- if I couldn't generate versioncache the first time, I can't do it the second time either.
Attached patch v1 (deleted) — Splinter Review
This fixes the problem.
Attachment #213835 - Flags: review?(LpSolit)
Comment on attachment 213835 [details] [diff] [review] v1 Looks reasonable. In all cases, versioncache will die before our next release. So r=LpSolit
Attachment #213835 - Flags: review?(LpSolit) → review+
Status: NEW → ASSIGNED
Flags: approval?
makes sense to me. We'll be rid of this before long anyway.
Flags: approval? → approval+
Checking in globals.pl; /cvsroot/mozilla/webtools/bugzilla/globals.pl,v <-- globals.pl new revision: 1.356; previous revision: 1.355 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: