distrv not handling packages correctly with 3-digit version numbers
search cancel

distrv not handling packages correctly with 3-digit version numbers

book

Article ID: 381689

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I have created some custom packages with version numbers that have three digits for one of the segments, for example "version 1.123.4.5"

I noticed in the logs that it seems to be doing some conversion on the numbers and it is causing some overlap:

Nov  5 16:53:00:420 [3532] 2 distsrv: ExtractVersion - 1.12.30.41 -> 1.123041 
Nov  5 16:53:00:420 [3532] 2 distsrv: ExtractVersion - 1.123.4.5 -> 1.123041 

According to this, it sees version 1.12.30.41 and version 1.123.4.5 as the same version number.

Is this expected?

Environment

DX UIM - Any Version

Cause

Limitation

Resolution

This is a known limitation resulting in the conversion to OSGI Semantic Versioning.

Each segment of the version string for a custom package should be no more than two digits. (0-99)