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

Hyrax::VisibilityPropagator does not expect AllinsonFlex objects #107

Open
laritakr opened this issue Nov 9, 2022 · 0 comments
Open

Hyrax::VisibilityPropagator does not expect AllinsonFlex objects #107

laritakr opened this issue Nov 9, 2022 · 0 comments

Comments

@laritakr
Copy link
Contributor

laritakr commented Nov 9, 2022

see scientist-softserv/utk-hyku#136

When visibility is assigned to an AllinsonFlex object, the visibility does not propagate down to its members. AllinsonFlex type objects are not expected as source objects, so they fall into the NullVisibilityPropogator and throw an error due to a bug in that subclass. Only Hyrax::WorkBehavior and Hyrax::Resource are expected source type classes, and with AllinsonFlex, we are most likely getting an AllinsonFlex source object.

(Note that this only affects imports through Bulkrax, so it may be a Bulkrax issue or an issue related to using them together, rather than only AllinsonFlex.)

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

1 participant