Closed Bug 54122 Opened 24 years ago Closed 17 years ago

Unknown pathway for getWinProfile.getstring should return null

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: depman1, Assigned: dveditz)

Details

build 2000-09-25-12-M18. Win only. 1. Go to http://jimbob/trigger3.html 2. Make sure there is no "xpinstall_test.ini" file in the "Windows" folder (or "WinNT" for NT). 3. Select "a_winprofile_getstring" from the Acceptance test case menu. Script attempts to get a non-existent file. 4. Press Trigger. OK. 5. Check the log file. Results: Nothing is returned. We don't know if the API returns anything. Expected: Return 'null'. That will let us know the API returns something, but didn't find the file. Note: same case for getstring parameters that are invalid, like excessively long string names. but that's another bug. Here's the log file: ------------------------------------------------------------------------------- http://jimbob/jars/a_winprofile_getstring.xpi -- 09/25/2000 18:26:49 ------------------------------------------------------------------------------- Acceptance: a_winprofile_getstring ---------------------------------- ** getString should retrieve 'newpathname': Install completed successfully Finished Installation 09/25/2000 18:26:49 Here's the script: initInstall("Acceptance: a_winprofile_getstring", "a_winprofile_getstring", "1.2.3.4", 0); f = getFolder("Windows"); ini = getWinProfile(f, "xpinstall_test.ini"); sname = ini.getString("Desktop", "Wallpaper"); logComment("getString should retrieve 'newpathname': " + sname); if (0 == getLastError()) performInstall(); else cancelInstall();
Status: NEW → ASSIGNED
Test case can be triggered from http://www.mozilla.org/quality/smartupdate/xpinstall-trigger.html Select a_winprofile_getstring from the Acceptance Test Case menu.
Summary: Unknown pathway for getWinProfile.getstring should return null → Unknown pathway for getWinProfile.getstring should return null
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.