Closed kjgarza closed 6 years ago
TRailing spaces in the name of the datacentre are causing the error. lupo
and bracco
should catch this. Potential solution in Lupo :
AutoStripAttributes helps to remove unnecessary whitespaces from ActiveRecord or ActiveModel attributes. It's good for removing accidental spaces from user inputs (e.g. when user copy/pastes some value to a form and the value has extra spaces at the end). https://github.com/holli/auto_strip_attributes
more users https://github.com/rmm5t/strip_attributes less fetures
Should be fixed by next SOLR index
https://stats.datacite.org/?fq=allocator_facet%3A%22SPBPU+-+Peter+the+Great+Polytechnic+University%22&#tab-datacentres
Solr API can't show result eirther https://search.datacite.org/api?q=*&fq=has_metadata%3Atrue&fq=is_active%3Atrue&fq=allocator_facet%3A%22SPBPU+-+Peter+the+Great+Polytechnic+University%22&
however search and fabrica work ok:
https://search.datacite.org/members/spbpu
[10:21] and fabrica
[10:21] https://doi.datacite.org/providers/spbpu/dois