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: Errors during updating/managing of containers should report nicely #750

Open
2 tasks done
BigRoy opened this issue Jul 4, 2024 · 0 comments
Open
2 tasks done

Comments

@BigRoy
Copy link
Collaborator

BigRoy commented Jul 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior:

Things like LoadError or other errors during updating or managing of loaded containers tends to just stop the updating and have the error in the console log. This was apparent e.g. during testing ynput/ayon-maya#3 (review)

Expected Behavior:

We should make it obvious to the user that something failed, and preferably have a good clear message about "what" failed if we know about it. As such it comes down to:

  • Raising clear errors from the Loader plug-ins.
  • Providing a nice visual dialog on errors (similar to Load errors from Loader?)

We may want to continue updating the others and then collect the errors along the way to represent one dialog at the end of all containers that failed to update.

This also solves the issue that if you select multiple containers, update all at once but one fails midway that the others you had selected do still get updated.

Version

1.0.0

What platform you are running on?

Windows

Steps To Reproduce:

Try the reproducable steps from this PR:

  1. Load a Maya reference
  2. In outliner enable > Display > Ignore "Hidden in outliner"
  3. In AVALON_CONTAINERS add an object into the reference container (just so that maya does not auto-delete it in next step)
  4. On the loaded maya reference remove the reference (via Maya itself, not via AYON tools)
  5. Container object set should still exist, but no reference node
  6. Via Ayon > Manage.. try to set the version of the container - it will fail.

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:

No response

@BigRoy BigRoy added the type: bug Something isn't working label Jul 4, 2024
@mkolar mkolar removed the type: bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants