avalonmediasystem / avalon

Avalon Media System – Samvera Application
http://www.avalonmediasystem.org/
Apache License 2.0
93 stars 51 forks source link

Enforce Identical Strings for avalon_resource_type in Solr and Fedora #5836

Closed joncameron closed 1 day ago

joncameron commented 1 month ago

Description

avalon_resource_type values are lower-case in Fedora but titlized in the solr document (https://github.com/avalonmediasystem/avalon/blob/c1a19e0a89fdea66ba40f7a1a93fd66c6dbe21aa/app/models/mods_behaviors.rb#L55) This feels like a minor bug but one that could trip up services or processes which do exact string matching.

See https://github.com/avalonmediasystem/avalon/issues/5834 for original reported issue.

Done Looks Like

elynema commented 1 month ago

We should note what the done looks from a testing perspective. What should we see if it is working correctly as expected?

cjcolvar commented 1 month ago

@elynema I added two additional done looks like criteria which are easier to test.