Standalone Harvest client application providing the functionality for capturing and indexing product metadata into the PDS Registry system (https://github.com/nasa-pds/registry).
If a version_id field has trailing zeros, for example 1.10, the value is truncated to 1.1 when lidvid and _id fields are generated.
For example logical_identifier = urn:nasa:pds:maven.anc, version_id = 1.10. Generated lidvid and _id = urn:nasa:pds:maven.anc::1.1
📜 To Reproduce
Steps to reproduce the behavior:
Create a label with the version_id field containing trailing zeros, for example, 1.10
Run Harvest to Ingest the label.
Check the lidvid and _id fields in OpenSearch / Elasticsearch.
🐛 Describe the bug
If a
version_id
field has trailing zeros, for example1.10
, the value is truncated to1.1
whenlidvid
and_id
fields are generated. For examplelogical_identifier
=urn:nasa:pds:maven.anc
,version_id
=1.10
. Generatedlidvid
and_id
=urn:nasa:pds:maven.anc::1.1
📜 To Reproduce
Steps to reproduce the behavior:
version_id
field containing trailing zeros, for example,1.10
lidvid
and_id
fields in OpenSearch / Elasticsearch.🕵️ Expected behavior
version_id
should not be truncated.