Closed
Bug 336283
Opened 20 years ago
Closed 20 years ago
If doctor.conf contains both WEB_BASE_URI and WEB_BASE_URI_n, only take WEB_BASE_URI into consideration and ignore all multi-installation parameters
Categories
(Webtools Graveyard :: Doctor, defect)
Webtools Graveyard
Doctor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
Attachments
(1 file, 1 obsolete file)
|
4.12 KB,
patch
|
myk
:
review+
|
Details | Diff | Splinter Review |
In bug 323590, we renamed WEB_BASE_URI as WEB_BASE_URI_1. In order to not break compatibility with existing Doctor installations, we should still support WEB_BASE_URI as a valid parameter (in which case we should assume there is no WEB_BASE_URI_n param).
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•20 years ago
|
||
Accept both WEB_BASE_URI and WEB_BASE_URI_n.
Attachment #220564 -
Flags: review?(myk)
Comment 2•20 years ago
|
||
Comment on attachment 220564 [details] [diff] [review]
patch, v1
I think this code should use WEB_BASE_URI if it's defined and look for WEB_BASE_URI_n only if WEB_BASE_URI is not defined, as I think that logic will be easier for installation administrators to understand.
>+sub validate_path {
Since this returns a boolean, it should be called something like is_valid_path.
Attachment #220564 -
Flags: review?(myk) → review-
| Assignee | ||
Comment 3•20 years ago
|
||
If WEB_BASE_URI exists, all WEB_BASE_URI_n are completely ignored.
Attachment #220564 -
Attachment is obsolete: true
Attachment #220850 -
Flags: review?(myk)
Updated•20 years ago
|
Attachment #220850 -
Flags: review?(myk) → review+
| Assignee | ||
Comment 4•20 years ago
|
||
Checking in sample.conf;
/cvsroot/mozilla/webtools/doctor/sample.conf,v <-- sample.conf
new revision: 1.6; previous revision: 1.5
done
Checking in Doctor/File.pm;
/cvsroot/mozilla/webtools/doctor/Doctor/File.pm,v <-- File.pm
new revision: 1.9; previous revision: 1.8
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Summary: Support WEB_BASE_URI as a valid parameter → If doctor.conf contains both WEB_BASE_URI and WEB_BASE_URI_n, only take WEB_BASE_URI into consideration and ignore all multi-installation parameters
Updated•10 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•