8000 Tray Browser: Deleting versions isn't reflected in DB · Issue #1327 · ynput/ayon-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Tray Browser: Deleting versions isn't reflected in DB #1327
Open
@tweak-wtf

Description

@tweak-wtf

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:

  1. ensure u have a product with multiple published versions
  2. delete a version using TrayBrowser
  3. check files on disk are removed
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0