You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We’d like to import values into the Location field / based_near attribute for our work types. We're working with Hyrax v3.5.0, Bulkrax v5.1.0.
We’ve added local processing to look for Geonames URIs in import data and add a based_near_attributes hash to parsed_metadata, in the form that’s expected when works are created/updated through the UI, to create Hyrax::ControlledVocabulary::Location entries for the work's based_near attribute.
But Bulkrax::ObjectFactory only permits attributes that align with work type properties, and removes the based_near_attributes property & associated hash
I think this is a bug -- although we’ve added local processing to add a controlled vocabulary value on import, Bulkrax should allow attributes that are used when creating / updating works with Location information through the UI.
The text was updated successfully, but these errors were encountered:
We’d like to import values into the Location field / based_near attribute for our work types. We're working with Hyrax v3.5.0, Bulkrax v5.1.0.
We’ve added local processing to look for Geonames URIs in import data and add a based_near_attributes hash to parsed_metadata, in the form that’s expected when works are created/updated through the UI, to create Hyrax::ControlledVocabulary::Location entries for the work's based_near attribute.
https://github.com/cu-library/cuirator/blob/main/app/models/concerns/bulkrax/has_local_processing.rb
But Bulkrax::ObjectFactory only permits attributes that align with work type properties, and removes the based_near_attributes property & associated hash
https://github.com/samvera-labs/bulkrax/blob/817e4bb826260c2b402f730e7696dd90027f0c0c/app/factories/bulkrax/object_factory.rb#L263
I think this is a bug -- although we’ve added local processing to add a controlled vocabulary value on import, Bulkrax should allow attributes that are used when creating / updating works with Location information through the UI.
The text was updated successfully, but these errors were encountered: