Closed
Bug 43226
Opened 25 years ago
Closed 17 years ago
File.dirRename isn't working on Linux and Win.
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect, P3)
Core Graveyard
Installer: XPInstall Engine
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: depman1, Assigned: dveditz)
References
Details
(Keywords: platform-parity, Whiteboard: [nsbeta2-][nsbeta3-])
builds: linux, Win98 & NT: 2000-06-20-08-M17. Works fine on Mac.
1. Go to http://jimbob/trigger3.html
2. Select a_fileop_dirrename from Acceptance test case menu.
3. Trigger. OK.
4. Check hard drive and logfile.
Results:
Linux: Directory is not renamed. Get -201 error (and junk chars returned for
File.dirRename) in logfile.
Win: Original directory remains ("a_fileop_dirrename"), and renamed one is also
created ("a_fileop_renamed"). No error, but junk chars returned for File.dirRen
Expected:
Directory renamed to "a_fileop_renamed". No errors or junk chars in logfile.
log file:
-------------------------------------------------------------------------------
http://jimbob/jars/a_fileop_dirrename.xpi -- 06/20/2000 16:03:21
-------------------------------------------------------------------------------
Acceptance: a_fileop_dirrename
------------------------------
** dirCreate returns = 0
[1/1] Create Folder: /u/depstein/builds/M17/jun20/./a_fileop_dirrename
Install completed successfully
The Directory Rename part
-------------------------
** dirRename returns = 0
[1/1] ˜81@˜81@Ð;¬‰ˆˆ=
Install **FAILED** with error -201
Install **FAILED** with error -201
Finished Installation 06/20/2000 16:03:22
Reporter | ||
Comment 1•25 years ago
|
||
changed qa contact to depstein. nominated nsbeta2 because it's a regression
test.
QA Contact: jimmylee → depstein
Whiteboard: pp,nsbeta2
Putting on [nsbeta2-] radar per today's beta2 XP Install PDT review.
Reporter | ||
Comment 3•25 years ago
|
||
nominated by QA for nsbeta3. This is breakage of a key fileop API. On Linux,
directory doesn't rename. On Win, it mistakenly acts like a directory copy: the
original directory remains while a new one is created with the new name.
Keywords: nsbeta3
Assignee | ||
Comment 4•25 years ago
|
||
We could drop this one if we have to, but accepting for now.
Status: NEW → ASSIGNED
Whiteboard: [nsbeta2-] → [nsbeta2-][nsbeta3+]
Assignee | ||
Comment 5•25 years ago
|
||
Not crucial functionality, nsbeta3-
Whiteboard: [nsbeta2-][nsbeta3+] → [nsbeta2-][nsbeta3-]
Comment 9•23 years ago
|
||
Traced this down to a call to nsLocalFile::MoveTo Looks like the windows
portion of this bug is a dup of
http://bugzilla.mozilla.org/show_bug.cgi?id=101527
Marking it as a blocker
Depends on: 101527
Comment 10•23 years ago
|
||
We can live with nsbeta1- :-(
Comment 11•23 years ago
|
||
Resetting milestone of all nsbeta1-bugs, only nsbeta1+ bugs should have a target
milestone.
Target Milestone: mozilla0.9.9 → ---
Comment 12•23 years ago
|
||
Resetting milestone, only nsbeta1+ bugs can have a milestone on them, these are
niminated, but not yet plussed.
Reporter | ||
Comment 13•21 years ago
|
||
You can now trigger this test case from
http://www.mozilla.org/quality/smartupdate/xpinstall-trigger.html
Just select a_fileop_dirrename from the Acceptance menu.
Should this bug be reassigned?
Assignee | ||
Comment 14•17 years ago
|
||
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: NEW → 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
•