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

Files details page does not update after file version is restored without refresh #6361

Closed
grgprarup opened this issue Feb 3, 2022 · 1 comment
Labels
Type:Bug Something isn't working

Comments

@grgprarup
Copy link
Contributor

Steps to reproduce

  1. Create a file version.txt with content version 1
  2. Upload a file version.txt with content new version
  3. Restore the old version of file

Expected behaviour

The UI must be updated with the information of the older version of file without refreshing the page

Actual behaviour

Before restoring the older version, (file size of current version is 29B, modified 1 day ago on file details page, file size of older version is 19B, time 20 min on versions sidebar)
version_before_restore

After restoring the older version, (file size of current version is 29B, modified 1 day ago on file details page is not updated, file size of older version is 29B, time 1 day on versions sidebar which is updated)
version_after_restore

After refreshing the page, (file size of current version is 19B, modified 30 min ago on file details page is now updated)
version_after_refresh

Environment general

Operating system: Linux Ubuntu 20.04

Environment ownCloud Core

Web server: latest master

@JammingBen
Copy link
Contributor

Has been fixed via #7469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants