Closed tsgit closed 6 years ago
a solution could be to separate repeated subfield x
into separate MARC tags 961__
there's about 30 HepNames records with at least 2 $$x
in the same tag
This is a data error, generated by an incorrect merge: it doesn't make sense for a record to have two creation dates. We can work around it by amending the rule to select the earliest date if more are present.
https://sentry.inspirehep.net/inspire-sentry/prod/issues/71500/
In HepNames some records preserve the creation dates of their ancestors that were merged, so subfield
961__x
may be repeated.currently this fails conversion at
https://github.com/inspirehep/inspire-dojson/blob/master/inspire_dojson/common/rules.py#L873