The above is working fine until NIE upgrades the Dataverse version from v5.4 to v5.8.
Upon some investigation, NTU found via SQL that the records harvested from NIE have "versionnumber" as null even though "versionstate" is "RELEASED" in the table "datasetversion".
However, when NIE check the same set of records in NIE instance via SQL, the "versionnumber" is not null when "versionstate" is "RELEASED" in the table "datasetversion".
Apparently, the harvesting via OAI did not capture the "versionnumber" correctly.
Prior to the Dataverse upgrade from v5.4 to v5.8, this was not an issue for us.
Hence, we are wondering if the community has encountered anything similar please?
Would love to hear some suggestions on things we can tweak / check to resolve this issue.