[Bug]: oc_file_metadata preservation issues with trashbin #34424
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
feature: trashbin
technical debt
Bug description
Metadata is lost after deleting and restoring a picture.
Steps to reproduce
Expected behavior
At step 3 the metadata should stay in the database.
At step 5 it should be back at least.
Installation method
No response
Operating system
No response
PHP engine version
No response
Web server
No response
Database engine version
No response
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
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
It is likely that the wrong event is used for metadata deletion.
We should use one of the "removed from cache" event to purge the metadata of a file instead of the "deleted" event.
cc @CAR
The text was updated successfully, but these errors were encountered: