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

Publishing 'Review' nested in 'Model' set gives publish warning msg: 'Overridden attribute cameras was of the wrong type: list - should have been bool' #230

Open
1 task done
LiborBatek opened this issue Jan 30, 2025 · 0 comments
Labels
type: bug Something isn't working

Comments

@LiborBatek
Copy link
Member

LiborBatek commented Jan 30, 2025

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Once nesting Review set in e.g. Model publisher gives warning msg during succesful publish as follows

Overridden attribute cameras was of the wrong type: list - should have been bool

Steps To Reproduce:

  1. Create product (e.g. model)
  2. Create camera and Review instance
  3. nest it inside model set to attach the review as model reviewable
  4. Publish and inspect publish report for Warning msg

Additional context:

Version

Version of the server, ayon-core and the addon that's affected

What platform were you running when you found the bug?

Windows
Linux - Rocky9
Linux - Ubuntu
MacOS

You can also provide any additional information relevant to the issue.

Relevant log output:

Probably caused by this code:

https://github.com/ynput/ayon-maya/blob/6505cb7c494fadbf5eb71233ff84ee43aa7a8abe/client/ayon_maya/plugins/publish/collect_review.py#L122

@LiborBatek LiborBatek added the type: bug Something isn't working label Jan 30, 2025
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

No branches or pull requests

1 participant