downloaded file gets deleted if name is same
Categories
(Firefox :: Downloads Panel, defect, P3)
Tracking
()
People
(Reporter: kill_pink, Assigned: emk)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: dataloss, regression, reproducible)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
Comment 2•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
STR
- Start download http://ftp.mozilla.org/pub/firefox/nightly/2019/05/2019-05-01-04-21-12-mozilla-central/firefox-68.0a1.en-US.win64.zip
- Cancel the download while the downloading is processing(Ctrl+J > Click on [x] button of the download entry)
- Again download same file http://ftp.mozilla.org/pub/firefox/nightly/2019/05/2019-05-01-04-21-12-mozilla-central/firefox-68.0a1.en-US.win64.zip
- Wait for finishing of the download
--- observe, the downloaded file is successfully created - Clear Downloads (Ctrl+J > Click on [Clear Downloads])
--- observe, the downloaded file is unexpectedly deleted
Comment 8•6 years ago
|
||
Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=a6bb991ed09261b1ee7c90a0ed88fb82465e3877&tochange=22b96cee9f15d9aa64651756762f001f2e9486a2
Regressed by:e406af77d28ddd1b59a432a4523b8a09ddf05e54 Johann Hofmann — Bug 1139913 - Downloads with partial data should still keep the placeholder on disk. r=mak
:Paolo Amadini, Your patch seems to cause the data loss. Can you please look into this?
Updated•6 years ago
|
Comment 9•5 years ago
|
||
Redirecting to Marco who is now the triage owner of the module. This may have the same cause as bug 1485555, even though the two are different. As it is the case for the other bug, there isn't a team assigned to this area of the code, but he may be able to find someone to look into this.
Assignee | ||
Comment 10•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Assignee | ||
Comment 13•5 years ago
|
||
Comment on attachment 9068718 [details]
Bug 1501277 - Don't remove non-placeholder if placeholder is expected. r?mak
Beta/Release Uplift Approval Request
- User impact if declined: Dataloss, sometimes downloaded files would be deleted unexpectedly.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Basically this change will just revert the pre-bug 1139913 behavior.
- String changes made/needed: none
Updated•5 years ago
|
Comment 14•5 years ago
|
||
Comment on attachment 9068718 [details]
Bug 1501277 - Don't remove non-placeholder if placeholder is expected. r?mak
old issue, but seems bad enough; approved for 68.0b9
Updated•5 years ago
|
Comment 15•5 years ago
|
||
Verified - Fixed on latest Nightly 69.0a1 (2019-06-09) (64-bit) on Windows 10 x64, Mac OS 10.13 and Ubuntu 18.04.
Updating flag and waiting for fix on Beta.
Comment 16•5 years ago
|
||
bugherder uplift |
Comment 18•5 years ago
|
||
Verified - Fixed on latest Beta 68.0b9 (64-bit) on Windows 10 x64, Mac OS 10.13 and Ubuntu 18.04.
Updated•5 years ago
|
Description
•