Closed
Bug 118953
Opened 23 years ago
Closed 23 years ago
Incorrect message from checksetup.pl
Categories
(Bugzilla :: Installation & Upgrading, defect, P4)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: bugzilla, Assigned: bugzilla)
Details
Attachments
(1 file, 1 obsolete file)
|
826 bytes,
patch
|
bbaetz
:
review+
justdave
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•23 years ago
|
||
Adding patch to change the message
| Assignee | ||
Comment 2•23 years ago
|
||
Adding patch, review keywords.
Updated•23 years ago
|
Priority: -- → P4
Target Milestone: --- → Bugzilla 2.18
Comment 3•23 years ago
|
||
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-
Comment 4•23 years ago
|
||
-> 2.16, patch author
Assignee: zach → bugzilla
Target Milestone: Bugzilla 2.18 → Bugzilla 2.16
Comment 5•23 years ago
|
||
Attachment #64130 -
Attachment is obsolete: true
Comment 6•23 years ago
|
||
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 7•23 years ago
|
||
Comment on attachment 74695 [details] [diff] [review]
new patch
r= justdave
Attachment #74695 -
Flags: review+
Comment 8•23 years ago
|
||
Checked in, thanks
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•