[Bug]: "undefined restored" when restoring a previous version of a file #37055
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
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
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?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: