Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploaded file cannot be moved via Drag&Drop #7447

Closed
hurradieweltgehtunter opened this issue Aug 15, 2022 · 5 comments · Fixed by #7473
Closed

Uploaded file cannot be moved via Drag&Drop #7447

hurradieweltgehtunter opened this issue Aug 15, 2022 · 5 comments · Fixed by #7473
Assignees
Labels
Priority:p2-high Escalation, on top of current planning, release blocker Type:Bug Something isn't working

Comments

@hurradieweltgehtunter
Copy link
Contributor

Steps to reproduce

  1. Create a new folder in personal quota area
  2. Upload file (Drag 'n Drop or "Upload" Button)
  3. Wait until file is uploaded
  4. Move uploaded file to another folder via Drag n Drop

Expected behaviour

File should be moved

Actual behaviour

Message occurs: "0 files moved", file stays as it is.

Environment general

https://ocis.ocis-wopi.latest.owncloud.works

Client configuration

Browser:
Firefox

Operating system:
Mac OS

DragnDropBug.mov

Logs

Browser log

XHR request Request: /remote.php/dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157%24e23031a5-2683-4b92-b966-b1ba42d51791/Testordner

Reply:

<d:multistatus xmlns:s="http://sabredav.org/ns" xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns"><d:response><d:href>/remote.php/dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157$e23031a5-2683-4b92-b966-b1ba42d51791/Testordner/</d:href><d:propstat><d:prop><oc:permissions>RDNVCK</oc:permissions><oc:favorite>0</oc:favorite><oc:fileid>1284d238-aa92-42ce-bdc4-0b0000009157$e23031a5-2683-4b92-b966-b1ba42d51791!4db98332-9520-4738-8377-de4514039183</oc:fileid><oc:owner-id>admin</oc:owner-id><oc:owner-display-name>Admin</oc:owner-display-name><oc:size>2995182</oc:size><d:getlastmodified>Mon, 15 Aug 2022 10:38:41 GMT</d:getlastmodified><d:getetag>&#34;764353d3b30f77350b2000f4acb63aad&#34;</d:getetag><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><oc:share-types></oc:share-types><oc:privatelink></oc:privatelink><d:getcontentlength></d:getcontentlength><d:getcontenttype></d:getcontenttype><oc:downloadURL></oc:downloadURL></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157$e23031a5-2683-4b92-b966-b1ba42d51791/Testordner/test</d:href><d:propstat><d:prop><oc:permissions>RDNVW</oc:permissions><oc:favorite>0</oc:favorite><oc:fileid>1284d238-aa92-42ce-bdc4-0b0000009157$e23031a5-2683-4b92-b966-b1ba42d51791!83992016-c7a1-4816-8dd3-8139088a3f4f</oc:fileid><oc:owner-id>admin</oc:owner-id><oc:owner-display-name>Admin</oc:owner-display-name><d:getcontentlength>68</d:getcontentlength><oc:size>68</oc:size><d:getlastmodified>Mon, 15 Aug 2022 10:35:07 GMT</d:getlastmodified><d:getetag>&#34;46820bf7ee69fb4ecd14c10075d581c3&#34;</d:getetag><d:getcontenttype>application/octet-stream</d:getcontenttype><d:resourcetype></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><oc:share-types></oc:share-types><oc:privatelink></oc:privatelink><oc:downloadURL></oc:downloadURL></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157$e23031a5-2683-4b92-b966-b1ba42d51791/Testordner/Testdatei%203.txt</d:href><d:propstat><d:prop><oc:permissions>RDNVW</oc:permissions><oc:favorite>0</oc:favorite><oc:fileid>1284d238-aa92-42ce-bdc4-0b0000009157$e23031a5-2683-4b92-b966-b1ba42d51791!4c7b1857-fa9d-4a22-97dc-50b580083a05</oc:fileid><oc:owner-id>admin</oc:owner-id><oc:owner-display-name>Admin</oc:owner-display-name><d:getcontentlength>68</d:getcontentlength><oc:size>68</oc:size><d:getlastmodified>Mon, 15 Aug 2022 10:35:07 GMT</d:getlastmodified><d:getetag>&#34;005a59c4ead9933b166db1fbb995066c&#34;</d:getetag><d:getcontenttype>text/plain</d:getcontenttype><d:resourcetype></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><oc:share-types></oc:share-types><oc:privatelink></oc:privatelink><oc:downloadURL></oc:downloadURL></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157$e23031a5-2683-4b92-b966-b1ba42d51791/Testordner/greenland_grid_velo</d:href><d:propstat><d:prop><oc:permissions>RDNVW</oc:permissions><oc:favorite>0</oc:favorite><oc:fileid>1284d238-aa92-42ce-bdc4-0b0000009157$e23031a5-2683-4b92-b966-b1ba42d51791!77e69f70-783f-4e3a-b568-8d78cd6c9ed2</oc:fileid><oc:owner-id>admin</oc:owner-id><oc:owner-display-name>Admin</oc:owner-display-name><d:getcontentlength>2995046</d:getcontentlength><oc:size>2995046</oc:size><d:getlastmodified>Mon, 15 Aug 2022 10:37:06 GMT</d:getlastmodified><d:getetag>&#34;c74e0bc00c532c3950c6f9e124a4ec78&#34;</d:getetag><d:getcontenttype>application/octet-stream</d:getcontenttype><d:resourcetype></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><oc:share-types></oc:share-types><oc:privatelink></oc:privatelink><oc:downloadURL></oc:downloadURL></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>
@hurradieweltgehtunter hurradieweltgehtunter added the Type:Bug Something isn't working label Aug 15, 2022
@pmaier1
Copy link
Contributor

pmaier1 commented Aug 15, 2022

This not only occurs for uploaded files. Seems drag & drop for move has an issue. Adding to the release blockers.

/cc @tbsbdr @kulmann

@pmaier1 pmaier1 added this to the 2.0.0 General Availability milestone Aug 15, 2022
@tbsbdr
Copy link

tbsbdr commented Aug 15, 2022

Some more details:

  • if the respective file or folder has no tickmark, its not possible to move it
  • if the respective file or folder has a tickmark, it is possible to move it

@tbsbdr tbsbdr added GA-Blocker Priority:p2-high Escalation, on top of current planning, release blocker labels Aug 15, 2022
@lookacat lookacat self-assigned this Aug 15, 2022
@kulmann
Copy link
Contributor

kulmann commented Aug 15, 2022

Some more details:

  • if the respective file or folder has no tickmark, its not possible to move it
  • if the respective file or folder has a tickmark, it is possible to move it

For selected folders it would be expected that you can't use them as a drop target, so it sounds like the condition needs to be inverted? @lookacat will have a look

@hurradieweltgehtunter
Copy link
Contributor Author

as @tbsbdr mentioed it only occurs while trying to move a single file without adding the tickmark -> Click on file, hold mousebutton down, move it.
If you select a single or multiple files (= tickmark on) Drag&Drop works fine.

@lookacat
Copy link
Contributor

We need to select the file on drag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p2-high Escalation, on top of current planning, release blocker Type:Bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants