Closed tdddblog closed 2 years ago
@tdddblog is there some sort of unit test that could be created to test for this bug?
@jordanpadams @tdddblog this is not a unit test but we coud check that the test data loaded in the integration test has still their trailing 0s in the API
My intention was that the developer is in charge of developing further these integration tests when new features are added or bug fixed.
I will merge this as-is right now, but we definitely should talk in the future about improving our code coverage. especially when bugs like this pop up
🗒️ Summary
Fixed
_id
andlidvid
field generator to not truncate trailing zeros of a version id.⚙️ Test Data and/or Report
NOTE: Build commons project first. See https://github.com/NASA-PDS/registry-common/pull/25
version_id
field containing trailing zeros, for example,1.10
lidvid
and_id
fields in OpenSearch / Elasticsearch.♻️ Related Issues
resolves https://github.com/NASA-PDS/harvest/issues/90