Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
This behavior was noted on the double_combo branch. It may or may not exist prior.
When you call member_ids on a valkyrie object's solr_document, you get the direct fileset ids, as well as the ids of child works and their filesets. This is a change from ActiveFedora behavior, and seems to not be expected behavior.
In other words:
valkyrie_object.member_ids = [valkyrie_ids of filesets + valkyrie_ids of child works]valkyrie_object_solr_document.member_ids = [string ids of filesets + string ids of child works + string ids of the filesets of child works]
Descriptive summary
This behavior was noted on the double_combo branch. It may or may not exist prior.
When you call
member_ids
on a valkyrie object's solr_document, you get the direct fileset ids, as well as the ids of child works and their filesets. This is a change from ActiveFedora behavior, and seems to not be expected behavior.In other words:
valkyrie_object.member_ids = [valkyrie_ids of filesets + valkyrie_ids of child works]
valkyrie_object_solr_document.member_ids = [string ids of filesets + string ids of child works + string ids of the filesets of child works]
Debug details
``` irb(main):020:0> im => #