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
Related to #759.
I tried to solve the problem by enabling the consolidation, however, the correct publication date was not retrieved correctly.
The BiblioItem object from the consolidation service had:
publicationDate = null
normalisedPublicationDate with the correct value
(I wonder if this is the correct behaviour)
however, in the BiblioItem, after the correct(...) method is invoked, the normalisedPublication date is overridden with the first raw publication date:
// normalization of datesif (resHeader != null) {
if (resHeader.getPublicationDate() != null) {
List<Date> dates = parsers.getDateParser().processing(resHeader.getPublicationDate());
// most basic heuristic, we take the first date - to be// revised...if (dates != null) {
if (dates.size() > 0) {
resHeader.setNormalizedPublicationDate(dates.get(0));
}
}
}
This will inevitably lose the good normalised date from the consolidation service. I'm not sure what is the correct behaviour, I supply this issue mostly for information as I assume there many different use cases 😉
The text was updated successfully, but these errors were encountered:
lfoppiano
changed the title
Consolidation
Publication date potentially corrected from the consolidation service seems to be lost in a limbo
May 26, 2021
Related to #759.
I tried to solve the problem by enabling the consolidation, however, the correct publication date was not retrieved correctly.
The BiblioItem object from the consolidation service had:
(I wonder if this is the correct behaviour)
however, in the BiblioItem, after the
correct(...)
method is invoked, the normalisedPublication date is overridden with the first raw publication date:This will inevitably lose the good normalised date from the consolidation service. I'm not sure what is the correct behaviour, I supply this issue mostly for information as I assume there many different use cases 😉
The text was updated successfully, but these errors were encountered: