Closed
Bug 242884
Opened 20 years ago
Closed 19 years ago
Proxy config should require hostIP:port and/or error
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: benc, Assigned: ajschult784)
Details
Attachments
(1 file, 6 obsolete files)
2.67 KB,
patch
|
dveditz
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
Mozilla 1.7RC1. STEPS: Launch Linux Net Installer. Enter a hostname -or a port (not both). The incomplete information causes the installer to quit when installation is started. EXPECTED: Either an error message in the dialog (hostIP -and- port are both required). Or, at least, ignore the proxy info and not die on install.
Assignee | ||
Comment 2•20 years ago
|
||
there is actually a deeper problem here... the installer can't tell when you delete a proxy field. Instead of deleting the setting like the hostname, it just sets the hostname to an empty (not NULL) string.
Assignee | ||
Comment 3•20 years ago
|
||
I don't know if gtk_editable_get_chars can return NULL or not, so I've left the check for that in.
Assignee | ||
Comment 4•20 years ago
|
||
without extraneous stuff from other bugs...
Attachment #147869 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #147870 -
Flags: review?(dveditz)
Updated•20 years ago
|
QA Contact: bugzilla → agracebush
Assignee | ||
Comment 5•20 years ago
|
||
include silly LAST_ERR diffs. filed bug 242908 to not have to mess with this anymore.
Attachment #147870 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #147879 -
Flags: review?(dveditz)
Assignee | ||
Updated•20 years ago
|
Attachment #147870 -
Flags: review?(dveditz)
Comment 6•20 years ago
|
||
Comment on attachment 147879 [details] [diff] [review] patch r=dveditz
Attachment #147879 -
Flags: review?(dveditz) → review+
Assignee | ||
Updated•20 years ago
|
Attachment #147879 -
Flags: superreview?(bryner)
Updated•20 years ago
|
Attachment #147879 -
Flags: superreview?(bryner) → superreview+
Assignee | ||
Comment 7•20 years ago
|
||
Assignee | ||
Comment 8•20 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•20 years ago
|
||
I left out the installer.ini part of the patch
Assignee | ||
Comment 10•20 years ago
|
||
Comment on attachment 157467 [details] [diff] [review] patch to un-hose installer this is in
Reporter | ||
Comment 11•20 years ago
|
||
UPDATE: I see the error message if I try to use an incomplete proxy config and hit "ok" So the error dialog does appear when expected. However, there is a problem, the "ok" button still saves the changes. If you hit cancel (which would presumably discard your changes), and then press the proxy button again, you will see that your incomplete proxy config is set in the dialog. I've confirmed that the OK button is the cause (by independently unit testing the cancel button's behavior). If you try to install w/ this config, your install will die, and also send the follow error to the terminal screen: ./mozilla-installer: line 70: 1261 Segmentation fault ./mozilla-installer-bin $@
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•20 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 12•20 years ago
|
||
this patch 1. fixes what benc mentioned in previous comment 2. fixes leaks 3. preserves previous settings on cancel (instead of clearing them)
Attachment #147879 -
Attachment is obsolete: true
Attachment #157115 -
Attachment is obsolete: true
Attachment #157467 -
Attachment is obsolete: true
Assignee | ||
Comment 13•20 years ago
|
||
Attachment #159938 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #159939 -
Flags: review?(dveditz)
Comment 14•20 years ago
|
||
Comment on attachment 159939 [details] [diff] [review] the right patch r=dveditz
Attachment #159939 -
Flags: review?(dveditz) → review+
Assignee | ||
Updated•20 years ago
|
Attachment #159939 -
Flags: superreview?(bryner)
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•20 years ago
|
Attachment #159939 -
Flags: superreview?(bryner) → superreview+
Assignee | ||
Comment 15•19 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 20 years ago → 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•