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)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(1 file, 1 obsolete file)

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).
Status: NEW → ASSIGNED
Attached patch patch, v1 (obsolete) — — Splinter Review
Accept both WEB_BASE_URI and WEB_BASE_URI_n.
Attachment #220564 - Flags: review?(myk)
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-
Attached patch patch, v2 — — Splinter Review
If WEB_BASE_URI exists, all WEB_BASE_URI_n are completely ignored.
Attachment #220564 - Attachment is obsolete: true
Attachment #220850 - Flags: review?(myk)
Attachment #220850 - Flags: review?(myk) → review+
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
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: