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

Scene Inventory: Do not fail with invalid representation ids on containers #703

Closed
2 tasks done
BigRoy opened this issue Jun 25, 2024 · 0 comments · Fixed by #725
Closed
2 tasks done

Scene Inventory: Do not fail with invalid representation ids on containers #703

BigRoy opened this issue Jun 25, 2024 · 0 comments · Fixed by #725
Labels
type: bug Something isn't working

Comments

@BigRoy
Copy link
Collaborator

BigRoy commented Jun 25, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior:

As we are transitioning from OpenPype (or even converting scenes from all the way back from Avalon) we're facing issues with the scenes after the conversion if there's any trace of a detected container in the scene with an OpenPype or Avalon representation id.

When this occurs the Scene Inventory will remain empty and show no logged errors whatsoever.

There seems to be an invalid id check in the code here - but apparently it doesn't do what it should?

Note that the issue itself goes beyond just the Scene Inventory in certain validation plug-ins or alike where a query is made to the ayon_api with these invalid ids where it fails on the Graph QL queries because it disallows the invalid ids. An approach we could take is to have Ayon API filter those out with the uuid check.

Expected Behavior:

It should allow to list invalid containers and if any issue arises like this it should provide a logged stack trace as well.

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

To reproduce:

  • Load a published product into a host integration
  • On the container manipulate the data and remove some characters from representation id.
  • Load another published product
  • Open the scene inventory
  • Nothing shows, both the broken and the normal container are not listed.

Are there any labels you wish to add?

  • I have added the relevant labels to the bug report.

Relevant log output:

No response

Additional context:

I wish there was some log or error output to share - but there's literally no output whatsoever when this fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant