Closed Bug 118953 Opened 23 years ago Closed 23 years ago

Incorrect message from checksetup.pl

Categories

(Bugzilla :: Installation & Upgrading, defect, P4)

2.15
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: bugzilla, Assigned: bugzilla)

Details

Attachments

(1 file, 1 obsolete file)

When a module is installed but the version isn't new enough, checksetup.pl issues the following warning ( I'll just dump the code ). if (@missing > 0) { print "\n\n"; print "You are missing some Perl modules which are required by Bugzilla.\n"; print "They can be installed by running (as root) the following:\n"; foreach my $module (@missing) { print " perl -MCPAN -e 'install \"$module\"'\n"; } print "\n"; exit; } The message is wrong, and should be changed to something like "Bugzilla requires some Perl modules which are either missing from your system, or the version on your system is too old." This is a good idea in general, but is going to cause less headaches when the patch for Bug 67663 goes in, and people upgrading won't have a new enough version of CGI::Carp.
Attached patch Text message change (obsolete) — Splinter Review
Adding patch to change the message
Adding patch, review keywords.
Keywords: patch, review
Priority: -- → P4
Target Milestone: --- → Bugzilla 2.18
Comment on attachment 64130 [details] [diff] [review] Text message change >Index: checksetup.pl >=================================================================== >RCS file: /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v >retrieving revision 1.112 >diff -u -r1.112 checksetup.pl >--- checksetup.pl 2001/12/12 22:41:04 1.112 >+++ checksetup.pl 2002/01/09 14:27:13 >@@ -224,8 +224,9 @@ > } > if (@missing > 0) { > print "\n\n"; >- print "You are missing some Perl modules which are required by Bugzilla.\n"; >- print "They can be installed by running (as root) the following:\n"; >+ print "Bugzilla requires some Perl modules which are either missing from your\n", >+ "system, or the version on your system is too old.", This line needs a \n after it. r=bbaetz with that - I'll attach a new patch >+ "They can be installed by running (as root) the following:\n"; > foreach my $module (@missing) { > print " perl -MCPAN -e 'install \"$module\"'\n"; > }
Attachment #64130 - Flags: review-
-> 2.16, patch author
Assignee: zach → bugzilla
Target Milestone: Bugzilla 2.18 → Bugzilla 2.16
Attached patch new patchSplinter Review
Attachment #64130 - Attachment is obsolete: true
Comment on attachment 74695 [details] [diff] [review] new patch r=bbaetz on this. Would be x 2, but I did change it slightly, so I probably shouldn't. Actually, maybe this should be "version(s)", or otherwise split singular/plural?
Attachment #74695 - Flags: review+
Comment on attachment 74695 [details] [diff] [review] new patch r= justdave
Attachment #74695 - Flags: review+
Checked in, thanks
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: