Closed
Bug 15709
Opened 25 years ago
Closed 25 years ago
[PP] GetFolder: Path returned is missing "/" at the end
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M11
People
(Reporter: jimmykenlee, Assigned: dougt)
References
Details
Build: 10/6/99 SeaMonkey build 1. From http://jimbob/trigger2.html, trigger http://jimbob/jars/a_fileop_dircreate.xpi Install.StartInstall("Acceptance: a_fileop_dircreate", "acceptance", "1.1.1.1", 0); f = Install.GetFolder("Program"); Install.LogComment("GetFolder returns = " + f); Install.LogComment("Directory to create = " + f + "a_fileop_dircreate"); err = Install.DirCreate(f + "a_fileop_dircreate"); Install.LogComment("DirCreate returns = " + err); RESULT: The wrong directory is created. The Install.log shows the following: --------------------------------------------------------------------------- http://jimbob/jars/a_fileop_dircreate.xpi -- 10/06/1999 13:47:37 --------------------------------------------------------------------------- Acceptance: a_fileop_dircreate ------------------------------ ** GetFolder returns = /u/jimmylee/linux60/oct_06/package ** Directory to create = /u/jimmylee/linux60/oct_06/packagea_fileop_dircreate ** DirCreate returns = 0 Item [1/1] Create Folder: /u/jimmylee/linux60/oct_06/packagea_fileop_dircreate Install completed successfully Finished Installation 10/06/1999 13:47:38 EXPECTED RESULT: GetFolder should return the path with the "/" at the end similar to: /u/jimmylee/linux60/oct_06/package/
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•25 years ago
|
||
the real problem is people depending strings returned from GetFolder(). We have to check to see if the node being return from GetFolder() is a directory, and if so, insure that there is a seperator. Take a look at the output of http://jimbob/jars/f_getfolder_paths.xpi to see the inconsistancies of GetFolder()
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•25 years ago
|
||
Fix checked in.
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall Engine
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
•