Closed
Bug 42554
Opened 25 years ago
Closed 17 years ago
Using no char string ("") for File.dirCreate returns incorrect error
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect, P3)
Core Graveyard
Installer: XPInstall Engine
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: depman1, Assigned: dveditz)
Details
all platforms. builds 2000-06-13-08-M17 Mac & NT, build 2000-06-14-08-M17 linux.
1. Go to http://jimbob/trigger3.html
2. Select f_fileop_dircreate_nested.xpi from function test case menu.
3. Trigger. OK.
4. Check logfile.
5. Check out line indicating "no characters".
Result: Returns -230 error (already exists).
Expected: Returns -208 error (invalid argument).
-------------------------------------------------------------------------------
http://jimbob/jars/f_fileop_dircreate_nested.xpi -- 06/14/2000 16:39:09
-------------------------------------------------------------------------------
Functional: f_fileop_dircreate_nested
-------------------------------------
** Nested DirCreate returns = 0
** ERROR (-230): Create Folder: C:\Program Files\Netscape\0613\Netscape 6\
** One blank character DirCreate returns = -230
** ERROR (-230): Create Folder: C:\Program Files\Netscape\0613\Netscape 6
** No characters DirCreate returns = -230
| Reporter | ||
Comment 1•25 years ago
|
||
changed qa contact to depstein. created .xpi archive for this test case:
http://jimbob/bugs/42554.xpi. uses this code segment:
f = getFolder("Program", "");
err = File.dirCreate(f);
Returns -230.
If we substitute addDirectory() for dirCreate(), it correctly returns -208.
QA Contact: jimmylee → depstein
| Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
| Reporter | ||
Comment 3•21 years ago
|
||
You can trigger this test case from
http://www.mozilla.org/quality/smartupdate/xpinstall-trigger.html
Just select f_fileop_dircreate_nested from the Functional menu.
| Assignee | ||
Comment 4•17 years ago
|
||
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
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
•