Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior:
When deleting an AYON version from a product the files on disk are correctly removed however the version saved to AYON DB persists. This can lead to version mismatches, wrong publishes and general confusion.
Expected Behavior:
When deleting a version using TrayBrowser the corresponding AYON Version entity should also be deleted from the DB.
Additionally, when deleting the last available version on a product the product entity should also be purged from the DB as products without a version might cause issues on the AYON frontend depending on the server version.
Version
1.3.2
What platform you are running on?
Windows
Steps To Reproduce:
- ensure u have a product with multiple published versions
- delete a version using TrayBrowser
- check files on disk are removed
- check on AYON that the deleted version still persists in the DB
Are there any labels you wish to add?
- I have added the relevant labels to the bug report.
Relevant log output:
Additional context:
No response