Closed Bug 310513 Opened 19 years ago Closed 19 years ago

Updater UI does not display text when updater.ini is malformed

Categories

(Toolkit :: Application Update, defect)

1.8.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bent.mozilla, Assigned: darin.moz)

Details

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20050928 
Firefox/1.4

If updater.ini is malformed then the text displayed on the UI is missing. This 
is the standard updater.ini file:

[Strings]
Title=Software Update
Info=Firefox is installing your updates and will start in a few moments ...

If you mess with the '[Strings]' line and turn it into '[Stringy]', for 
instance, then *no* strings will show up in the UI. You just get a window with 
a progress bar. Note that Updater works just fine and is successful regardless.

I just think we should have some sort of default values in case updater.ini is 
messed up.
Flags: blocking1.8b5?
Assignee: nobody → darin
Flags: blocking1.8b5? → blocking1.8b5-
Darin, what kind of behavior do you want to see here? Should we just fail? Or 
should we try for defaults?
I don't think we need to worry about the case of updater.ini being malformed. 
In what "real world" cases will updater.ini be messed up?

I'm leaning toward WONTFIX'ing this bug.
You're right, this probably won't happen very often. Other than some sort of 
botched disk op or someone editing updater.ini by hand I guess we wouldn't see 
this. I was just thinking that a) it's a very visible file (root of the 
firefox folder) and b) it's an .ini file type (one that people are used to 
messing with). But like I said, the update completes regardless, so WONTFIX is 
certainly an option. 
Yeah, I'd rather close this out and just focus on more visible bugs.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.