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

[Bug]: "undefined restored" when restoring a previous version of a file #37055

Open
5 of 9 tasks
ChristophWurst opened this issue Mar 6, 2023 · 3 comments
Open
5 of 9 tasks
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 26-feedback bug feature: sharing feature: versions needs review Needs review to determine if still applicable

Comments

@ChristophWurst
Copy link
Member

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

I restored a file with multiple versions to the most recent snapshot before the current version. The revert succeeded but the toast in the top right corner said "undefined restored".

According to VersionTab::handleRestore the code expects the version label to always be set

Steps to reproduce

  1. Create a text file
  2. Modify it a couple of times
  3. Revert to a previous version

Expected behavior

Sensible toast message

Installation method

None

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

N/a

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@ChristophWurst ChristophWurst added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap feature: versions labels Mar 6, 2023
@ChristophWurst
Copy link
Member Author

The error happened in a directory shared with me. I am not the owner of the file.

@ChristophWurst
Copy link
Member Author

ChristophWurst commented Jun 20, 2024

Bildschirmfoto vom 2024-06-20 15-47-36

yep

@joshtrichards joshtrichards added feature: sharing needs review Needs review to determine if still applicable labels Sep 15, 2024
@lukaspavelka
Copy link

some issue here, did you resolve it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 26-feedback bug feature: sharing feature: versions needs review Needs review to determine if still applicable
Projects
None yet
Development

No branches or pull requests

3 participants