Fix java.lang.IndexOutOfBoundsException in RecordMetadata#getLatestVersion (GONRG-10719)
Type of change
-
Bug Fix -
Feature
Issue: osdu/platform/system/lib/core/os-core-common#83
Does this introduce a change in the core logic?
- [YES]
Does this introduce a change in the cloud provider implementation, if so which cloud?
-
AWS -
Azure -
GC -
IBM -
CImpl
Does this introduce a breaking change?
- [YES]
What is the current behavior?
500, if a RecordMetadata
has an empty gcsVersionPaths
'`.
What is the new/expected behavior?
A record with an empty gcsVersionPaths
is in the MultiRecordIds#InvalidRecords
array.
Edited by Riabokon Stanislav(EPAM)[GCP]