server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Resolving a conflict when uploading multiple files via drag-and-drop cancels all uploads

Open iw0nderhow opened this issue 1 year ago • 1 comments

⚠️ This issue respects the following points: ⚠️

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

  1. Have two files. Upload one to the server.
  2. Drag both into the folder. Encounter conflict resolve dialog. (Using the "Upload files" file picker dialog, this issue does not occur.)
  3. Resolve conflict using "Skip" or "Keep".
  4. 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.

iw0nderhow avatar Jun 28 '24 08:06 iw0nderhow

Hello, I have the same problem with:-

  • Nextcloud 29.0.3
  • SQLite
  • PHP 8.3.8
  • Edge 126 on Windows 10.

Best

azertylr avatar Jun 28 '24 19:06 azertylr

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.

Kooha-2024-07-30-19-48-08.webm

jospoortvliet avatar Jul 30 '24 17:07 jospoortvliet

Hi, same issue on 29.0.4

florent4014 avatar Aug 01 '24 13:08 florent4014

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.

susnux avatar Aug 01 '24 13:08 susnux

Hi, same issue on 29.0.6.1

MimikFc7 avatar Sep 09 '24 11:09 MimikFc7

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.

Nazgul-gc avatar Nov 08 '24 10:11 Nazgul-gc

Same here still with version 30.0.3 !!?

pbuergi avatar Dec 06 '24 10:12 pbuergi

Related: https://github.com/nextcloud-libraries/nextcloud-upload/issues/1576

susnux avatar Jan 30 '25 23:01 susnux