Closed
Bug 187979
Opened 22 years ago
Closed 22 years ago
getcomponentfolder test case fails
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Core Graveyard
Installer: XPInstall Engine
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.4alpha
People
(Reporter: jimmykenlee, Assigned: ssu0262)
References
Details
(Keywords: regression, Whiteboard: [adt3])
Attachments
(1 obsolete file)
Build: 2003-01-03-08-trunk(WIN), 2003-01-03-08-trunk(LINUX),
2003-01-03-08-trunk(MAC OS X)
1. From http://jimbob/trigger3.html, select a_getcomponentfolder from the
Acceptance drop-down and click Trigger case button
2. Click Install button from Software Installation dialog
RESULT:
Dialog returns "script error".
Install.log returns:
-------------------------------------------------------------------------------
http://jimbob/jars/a_getcomponentfolder.xpi -- 01/06/2003 16:06:59
-------------------------------------------------------------------------------
Acceptance: a_getcomponentfolder
--------------------------------
[1/1] Installing: C:\Program Files\Netscape\122302\a_getcomponentfolder.txt
Install **FAILED** with error -229 -- 01/06/2003 16:06:59
Installscript:
regName = "a_getcomponentfolder";
jarSrc = "smrtupdt.txt";
var vi = "1.0.1.15";
initInstall("Acceptance: a_getcomponentfolder", "acceptance", vi, 0);
f = getFolder("Program");
addFile(regName, vi, jarSrc, f, "a_getcomponentfolder.txt", true);
if (0 == getLastError())
performInstall();
else
cancelInstall();
compFolder = getComponentFolder("acceptance" + "/" + regName);
logComment("GetComponentFolder should return path to Program directory: " +
compFolder);
EXPECTED RESULT:
Installation is successful. It appears the error occurs at:
compFolder = getComponentFolder("acceptance" + "/" + regName);
Nominating for beta. This used to work, and now it doesn't. By the way, this
broke in 1.2.1. I don't know how important this API is, but it is a regression.
Keywords: nsbeta1
Comment 2•22 years ago
|
||
Installer triage team: nsbeta1+/adt3
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1alpha
this fixes the problem, but I'm not sure if it's the right thing to do.
checking with dveditz....
Comment 4•22 years ago
|
||
This patch throws away the subdirectory. The right fix is contained in the
125106 uber-patch which contained general nsIFile/intl cleanups. You can't
really separate out just the fix for this one spot though.
Depends on: 125106
Updated•22 years ago
|
Attachment #118345 -
Attachment is obsolete: true
Attachment #118345 -
Flags: review-
Updated•22 years ago
|
QA Contact: jimmylee → gbush
Comment 5•22 years ago
|
||
fwiw, I am seeing these tests show 'success' now vs cancelled as noted here ,
however they show 'null' as result
problem was fixed along with bug 125106.
both 1 and 2 param flavors of the function should be working now.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•