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
when using the default source_identifier value on v5.4.0, it does not return the correct work_index value in ObjectFactory#search_by_identifier. it returns source_sim while according to solr, the proper value should be source_tesim.
therefore a work is not found. this means that on the bulkrax entries show page, the "Item Link" says "Item has not yet been imported successfully". however, viewing the works page shows that the work was created.
defsearch_by_identifierwork_index= ::ActiveFedora.index_field_mapper.solr_name(work_identifier,:facetable)query={work_index=>source_identifier_value}# Query can return partial matches (something6 matches both something6 and something68)# so we need to weed out any that are not the correct full match. But other items might be# in the multivalued field, so we have to go through them one at a time.match=klass.where(query).detect{ |m| m.send(work_identifier).include?(source_identifier_value)}returnmatchifmatchend
screenshots
view here
acceptance criteria
[ ]
The text was updated successfully, but these errors were encountered:
* restore the ability to load the "/importers" page.
there was an extra "x" in the app/views/bulkrax/importers/_oai_fields.html.erb file. it threw a syntax error when trying to create a new
importer.
* restore our ability to properly look up works by their `work_identifier`
- ref: #866
- ref:#867
story
when using the default
source_identifier
value onv5.4.0
, it does not return the correctwork_index
value inObjectFactory#search_by_identifier
. it returnssource_sim
while according to solr, the proper value should besource_tesim
.therefore a work is not found. this means that on the bulkrax entries show page, the "Item Link" says "Item has not yet been imported successfully". however, viewing the works page shows that the work was created.
ref: https://github.com/samvera/active_fedora/blob/v13.3.0/lib/active_fedora/indexing/field_mapper.rb#L29-L39
screenshots
view here
acceptance criteria
The text was updated successfully, but these errors were encountered: