As designed inferVersionStringFromId does not infer "Patch"

TickTackk

Well-known member
Affected version
2.1.8 Patch 2
PHP:
$versionId = 2010872;
$this->inferVersionStringFromId($versionId);
Returns 2.1.8.2 instead of "2.1.8 Patch 2"
 
Honestly the first and only time we've ever really incremented the version ID for a patch release was recently.

There's not necessarily an expectation that what we choose to call our versions has to be the same as what the software outputs and, indeed, if the need arose, then it can be manually adjusted.

We ultimately decided that calling it 2.1.8 Patch 2 was clearer than calling it 2.1.8.2, some may prefer the four point version and indeed some use that already, so probably not worth changing at this point.

You may be interested in 2010892 which would produce 2.1.8 Patch Level 2 but we really don't ever plan to use the 9 stability level.
 
Top Bottom