Closed
Bug 85867
Opened 23 years ago
Closed 23 years ago
langenus.xpi does not install properly when smartupdating
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ssu0262, Assigned: slogan)
Details
(Whiteboard: have patch, critical for 0.9.2, have r=,sr=,a=)
Attachments
(4 files)
4.14 KB,
patch
|
Details | Diff | Splinter Review | |
4.05 KB,
patch
|
Details | Diff | Splinter Review | |
3.40 KB,
patch
|
Details | Diff | Splinter Review | |
3.38 KB,
patch
|
Details | Diff | Splinter Review |
When smartupdating from 6.0x -> 6.1b1, langenus.xpi will not correctly detect which OS it is running from. This is because during this smartupdate scenario, the browser is version 6.0. This version of the browser does not support 'Install.platform', only 6.1b1 does. This will cause the wrong file to be registered. This is filed in bugzilla because langenus.xpi from mozilla also has the same problem, not necessarily with N6.0x, but with earlier versions of mozilla. patches for both mozilla and ns on all platforms coming up.
Comment 3•23 years ago
|
||
Nice hack! Sorry to generate more work but can we make this a function call in share.t used something along the lines: platformNode = getPlatform(); where getPlatform() is defined as: function getPlatform() { if('platform' in Install) { platformStr = new String(Install.platform); if (!platformStr.search(/^Macintosh/)) platformNode = 'mac'; else if (!platformStr.search(/^Win/)) platformNode = 'win'; else platformNode = 'unix'; } else { var fOSMac = getFolder("Mac System"); var fOSWin = getFolder("Win System"); var fOSUnix = getFolder("Unix Local"); logComment("fOSMac: " + fOSMac); logComment("fOSWin: " + fOSWin); // logComment("fOSUnix: " + fOSUnix); <-- XXX remove this; it is not used! if(fOSMac != null) platformNode = 'mac'; else if(fOSWin != null) platformNode = 'win'; else platformNode = 'unix'; } return platformNode; }
Comment 4•23 years ago
|
||
Oh, err, also remove this line since itis not used: var fOSUnix = getFolder("Unix Local");
Comment 7•23 years ago
|
||
Nice! r=sgehani
Comment 8•23 years ago
|
||
rs = mscott
Comment 9•23 years ago
|
||
a=blizzard on behalf of drivers for 0.9.2
Whiteboard: have patch;need r=,sr=,a= → have patch, critical for 0.9.2, have r=,sr=,a=
Reporter | ||
Comment 10•23 years ago
|
||
fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 11•23 years ago
|
||
Stray old bug. Verified on all platforms. It's updated. Marking Verified.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
Component: Installer: XPI Packages → Installer
QA Contact: jimmykenlee → general
You need to log in
before you can comment on or make changes to this bug.
Description
•