Closed Bug 43228 Opened 25 years ago Closed 25 years ago

File.rename is not working on Linux

Categories

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

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: depman1, Assigned: dveditz)

References

Details

(Keywords: platform-parity, Whiteboard: [nsbeta2-][nsbeta3-])

build 2000-06-20-08-M17. linux only. see 43226. If this is the same fix as 43226, mark this a dup. 1. Go to http://jimbob/trigger3.html 2. Select a_fileop_filerename from Acceptance test case menu. 3. Press Trigger. Then OK. 4. Check hard drive and logfile. Result: File is not renamed. Remains "a_filerename.txt". Junk chars in log file. Expected: Renamed file to "filerenamed.txt". log file: ------------------------------------------------------------------------------- http://jimbob/jars/a_fileop_filerename.xpi -- 06/20/2000 16:25:03 ------------------------------------------------------------------------------- Acceptance: a_fileop_filerename ------------------------------- [1/1] Installing: /u/depstein/builds/M17/jun20/./a_filerename.txt Install completed successfully The filerename part ------------------- ** Path to fileSource = /u/depstein/builds/M17/jun20/./a_filerename.txt ** File.rename returns = 0 [1/1]  81@ 81@ Install completed successfully Finished Installation 06/20/2000 16:25:04
changed qa contact to depstein. nominating nsbeta2 because this is a regression test.
Keywords: nsbeta2, pp
QA Contact: jimmylee → depstein
Putting on [NEED INFO] radar. PDT needs to know impact to user and risk of fix to make a call on this bug.
Whiteboard: [NEED INFO]
Putting on [nsbeta2-] radar.
Whiteboard: [NEED INFO] → [nsbeta2-]
nominated by QA for nsbeta3. Breakage of a key fileop.
Keywords: nsbeta3
Another one we could probably live without.
Whiteboard: [nsbeta2-] → [nsbeta2-][nsbeta3+]
This just isn't that important. It will start working when Blizzard fixes nsIFile on Linux.
Depends on: 17948
Whiteboard: [nsbeta2-][nsbeta3+] → [nsbeta2-][nsbeta3-]
This is now fixed! File renames to new name. No junk chars are seen in the log file, and no trace of the old file. Hallelujah!
Marked fixed based on David's comments, but please re-test before closing
Status: NEW → RESOLVED
Closed: 25 years ago
Keywords: nsbeta1
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
fixed. file renames to "filerenamed.txt". linux branch build 2001-01-08-08.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.