Closed
Bug 229783
Opened 22 years ago
Closed 22 years ago
Download which tries to overwrite read-only file doesn't fail until download is complete
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmlandsvik, Assigned: mkaply)
Details
(Keywords: fixed1.4.2, fixed1.6)
Attachments
(2 files)
|
2.89 KB,
patch
|
Details | Diff | Splinter Review | |
|
5.65 KB,
patch
|
mkaply
:
superreview+
mkaply
:
approval1.4.2+
mkaply
:
approval1.6+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.5) Gecko/20031015 Firebird/0.7
Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.5) Gecko/20031015 Firebird/0.7
When downloading and saving a file onto a file with same name, and the existing
file is ReadOnly, then FireBird does NOT give a warning, but fails to save,
AFTER downloading the whole file.
Reproducible: Always
Steps to Reproduce:
1.Download a file.
2.Set file ReadOnly.
3.Download same file into same file/folder.
Actual Results:
The file downloads, and after finishing download says: PATH\FILE\could not be
saved, because you cannot change the content of that folder.
Change the folder properties and try again, or save in a different location.
Expected Results:
Give a notice that the file is ReadOnly BEFORE starting the download!
| Reporter | ||
Comment 1•22 years ago
|
||
Operating System: OS/2 Warp Server for eBussiness (4.50)
OS: other → OS/2
Updated•22 years ago
|
Summary: Gives notice AFTER download finish when saving to existing RO file. → Download which tries to overwrite read-only file doesn't fail until download is complete
| Assignee | ||
Comment 2•22 years ago
|
||
Add our own message for readonly since other file dialogs do it.
| Assignee | ||
Comment 3•22 years ago
|
||
taking
Assignee: bugs → mkaply
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Updated•22 years ago
|
Attachment #138428 -
Flags: review?(pedemont)
Comment 4•22 years ago
|
||
Comment on attachment 138428 [details] [diff] [review]
Fix for problem
Is there a way to not persist the three char strings?
| Assignee | ||
Comment 5•22 years ago
|
||
This patch makes the strings global and static so they only get allocated once
and they only get allocated as needed.
| Assignee | ||
Updated•22 years ago
|
Attachment #138431 -
Flags: review?(pedemont)
| Assignee | ||
Updated•22 years ago
|
Attachment #138428 -
Flags: review?(pedemont)
Updated•22 years ago
|
Attachment #138431 -
Flags: review?(pedemont) → review+
| Assignee | ||
Comment 6•22 years ago
|
||
changing product
Component: Downloading → File Handling
Product: Firebird → Browser
Version: unspecified → Trunk
| Assignee | ||
Comment 7•22 years ago
|
||
Comment on attachment 138431 [details] [diff] [review]
Better fix
sr=blizzard (platform specific)
a=mkaply for 1.4.2 and 1.6 since it is OS/2 specific
Attachment #138431 -
Flags: superreview+
Attachment #138431 -
Flags: approval1.6+
Attachment #138431 -
Flags: approval1.4.2+
| Assignee | ||
Comment 8•22 years ago
|
||
Fixed everywhere
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•