Failed to upload files with same file name in different folder
Categories
(Firefox for Android :: Downloads, defect, P3)
Tracking
()
People
(Reporter: jackyzy823, Unassigned)
References
Details
(Whiteboard: [fxdroid] [group4])
Attachments
(3 files)
Steps to reproduce
- Prepare two text files which have same name but in different folder. ( eg . Create folder1/samename.txt and folder2/samename.txt in Download folder and fill with different text content)
- Visit the demo html page
- Click "Browse" near "Select FIle1 to upload" , and select folder1/samename.txt
- Click "Browse" near "Select FIle2 to upload" , and select folder2/samename.txt
- Click "Load Selected File" near "Select FIle1 to upload"
- Click "Load Selected File" near "Select FIle2 to upload"
Expected behavior
file content of two files are displayed.
Actual behavior
Only the second uploaded one's content could display. the first one is showing error.
Any additional information?
This is because uploaded files are all copied to the same cache folder first , so when copying the second file , the first file has been overwritten (because of the same filename).
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:mavduevskiy, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
An easy workaround is that create random folders under temp folder to store file disgustingly.
The better way : don't store temp file.
Updated•1 year ago
|
Comment 3•7 months ago
|
||
Retested with the latest Nightly build (136.0a1) and the issue is no longer reproducible as described.
Two files with the same names but from different folders can be uploaded without issues.
Device used: Oneplus 12R (android 14).
Closing the ticket as works for me.
Updated•7 months ago
|
Comment 4•7 months ago
|
||
Comment 5•7 months ago
|
||
I tested with Pixel 7 android 15 . I can't reproduce it . App version 136.
Description
•