[Bug]: Resolving a conflict when uploading multiple files via drag-and-drop cancels all uploads
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
- When I drag two files into the web interface
- and one already exists on the server
- and I resolve this conflict using either "Skip" or "Keep old file"
- all uploads are cancelled, including ones which do not conflict.
Steps to reproduce
- Have two files. Upload one to the server.
- Drag both into the folder. Encounter conflict resolve dialog. (Using the "Upload files" file picker dialog, this issue does not occur.)
- Resolve conflict using "Skip" or "Keep".
- The unconflicted file fails to upload too.
Expected behavior
The non-conflicting files should be uploaded regardless of how the conflict was resolved.
Installation method
Community Manual installation with Archive
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
Console says:
[INFO] files: User skipped the conflict resolution
[INFO] files: No files to upload
I'm using Firefox 127 on macOS 14.5. Nextcloud is running v29.0.3.
Hello, I have the same problem with:-
- Nextcloud 29.0.3
- SQLite
- PHP 8.3.8
- Edge 126 on Windows 10.
Best
Here is a video of the issue, showing that even some resolutions stop the upload. I know @skjnldsv touched this area, perhaps he can have a look.
Hi, same issue on 29.0.4
Confirmed the issue and working on a fix for this.
Please if you do not have any new information (like later version the issue happens, more details etc) do not comment but just leave a :+1: on the initial issue report to vote this issue up.
Hi, same issue on 29.0.6.1
Hello, Detected behavior when a conflict occurs when uploading existing files to the Nextcloud server.
Using the drag and drop option:
- If you choose Select all existing files the new files are not uploaded.
- If you choose to update at least one of the conflicting files, that file is uploaded, as well as the new files.
Using the Upload files option:
- New files are never uploaded, regardless of whether you choose to keep or update any of the conflicting files.
- Messages are never displayed (Conflicts resolution skipped, No files to upload, Files uploaded successfully)
Tested on versions 29.0.8 and 30.0.1.
Thanks.
Same here still with version 30.0.3 !!?
Related: https://github.com/nextcloud-libraries/nextcloud-upload/issues/1576