Closed Bug 301963 Opened 19 years ago Closed 19 years ago

Software Installation Disabled notification has "undefined" as button text

Categories

(Firefox :: Toolbars and Customization, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox1.5

People

(Reporter: tkh212+bugzilla, Assigned: asaf)

References

Details

(Keywords: regression)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050724 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050724 Firefox/1.0+

When you try to install an extension when Software Installation is disabled
(through Preferences), Firefox displays the notification bar that says that
Software Installation is disabled, and to click "Edit Options..." to enable it
and try again.  However, the text of the button is "undefined", not "Edit
Options..." on Mac OS X.  It does seem to be correct using Deer Park Alpha 2 on
Windows XP, but not on recent nightlies on Mac OS X.

I will attach a screenshot.

Reproducible: Always

Steps to Reproduce:
1. Disable Software Installation on the Content pane of Preferences.
2. Navigate to a page with an install link for installing an extension.
3. Click the install link (attempt to install the extension).

Actual Results:  
The notification bar appears, saying to click "Edit Options..." and try again,
but there is no such button.  The button text says "undefined".

Expected Results:  
The button text should be "Edit Options...", based on the text of the notification.

I didn't know which component this best fits under, since the notifcation bar
doesn't have its own component, and I wasn't sure if it's an Extension Manager
or not, so I apologize if this is in the wrong component.
Here is a screenshot of the bar with the "undefined" button, just to make
things a bit more clear.
Can you reproduce this in a new profile?
Yes, I was able to reproduce this in a new profile.  I also tried with the site
on and off the whitelist.
It happens here also. Randomly, 50% of the times I tried it, I see "Undefined"
and the other 50% "Edit Options". When I click "Undefined" the Options Window
shows up.
When I click OK, I get either an "Edit Options" buttons or another "Undefined"
button.
I see no pattern in the behaviour.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050725
Firefox/1.0+ ID:2005072504
Regressed between ID 2005071310 and ID 2005071311.
Tried it 4 times on both build.
8 times! :)
Well, I see it 100% of the time.

Also, I'm changing the title to describe the actual problem (Software
Installation , not Software Update)...oops. (c;=
Summary: Software Update Disabled notification has "undefined" as button text on Mac → Software Installation Disabled notification has "undefined" as button text on Mac
If this did regress when Ria said it did, it's probably from the checkin from
bug 287739.
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/browser/base/content&command=DIFF_FRAMESET&file=browser.js&rev1=1.453&rev2=1.454&root=/cvsroot
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Flags: blocking1.8b4?
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050731 Firefox/1.0+

Should be: 

OS: MacOS X -> All
Hardware: Macintosh -> All
Summary: Software Installation Disabled notification has "undefined" as button
text on Mac -> Software Installation (xpinstall) Disabled notification has
"undefined" as button text
Josh -> can you take a look at this one for beta?
Assignee: nobody → joshmoz
Flags: blocking1.8b4? → blocking1.8b4+
-> Mano per IRC, thanks Mano
Assignee: joshmoz → bugs.mano
Severity: trivial → normal
Not mac-specific, this is a regression from bug 287739.
Status: NEW → ASSIGNED
Depends on: 287739
OS: MacOS X → All
Priority: -- → P2
Hardware: Macintosh → All
Summary: Software Installation Disabled notification has "undefined" as button text on Mac → Software Installation Disabled notification has "undefined" as button text
Target Milestone: --- → Firefox1.1
Attached patch patchSplinter Review
fix typos
Attachment #191727 - Flags: review?(mconnor)
Attachment #191727 - Flags: review?(mconnor)
Attachment #191727 - Flags: review+
Attachment #191727 - Flags: approval1.8b4+
Checking in browser.js;
/cvsroot/mozilla/browser/base/content/browser.js,v  <--  browser.js
new revision: 1.469; previous revision: 1.468
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: