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

[OCIS]Personal space page doesn't reflect the resources properly after batch deleting all the resources from second page #9014

Closed
SwikritiT opened this issue May 11, 2023 · 1 comment
Assignees
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working

Comments

@SwikritiT
Copy link
Contributor

The personal space page doesn't reflect the resources properly after batch deleting the resources from the second page. Only after navigating to another page and coming back will result into the display of remaining folders on the personal page.

Steps to reproduce

  1. Create about 110 folders in personal space
#!/usr/bin/env bash
for (( c=1; c<=110; c++ ))
do 
    folderName="test$c"
    echo ${folderName}
    curl -k -X MKCOL -u admin:admin https://host.docker.internal:9200/remote.php/dav/files/admin/${folderName}
done
  1. Go to UI, and make sure that the item per page is set to 100
  2. Navigate to page two
  3. Batch delete all the folders in page two

Expected behavior

10 folders should be deleted and the page should fallback to first page with 100 folders

Actual behavior

The UI shows that there's no resource. Reloading the same page won't reflect any changes. Only after navigating to another page and coming back will show the remaining 100 folders.

Environment general

Operating system: Ubuntu 22.04.2 LTS

Backend (ownCloud Core or Infinite Scale): ocis

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Environment ownCloud Infinite Scale

Version: 3.0.0-rc.3+1f8164c52
Web client version : 7.0.0-rc.36

Ocis started with https://github.com/owncloud/web/blob/master/docker-compose.yml config

Video

ocis-batch-delete.mp4
@SwikritiT SwikritiT added the Type:Bug Something isn't working label May 11, 2023
@SwikritiT SwikritiT changed the title Personal space page doesn't reflect the resources properly after batch deleting all the resources from second page [OCIS]Personal space page doesn't reflect the resources properly after batch deleting all the resources from second page May 11, 2023
@JammingBen JammingBen added this to Qualification in Web Support Board via automation May 11, 2023
@JammingBen JammingBen added the Priority:p3-medium Normal priority label May 11, 2023
@JammingBen JammingBen moved this from Qualification to Bugs Prio 3 or less in Web Support Board May 11, 2023
@JammingBen JammingBen self-assigned this May 11, 2023
@JammingBen
Copy link
Collaborator

Fixed via #9017.

Web Support Board automation moved this from Bugs Prio 3 or less to Done May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

2 participants