#3545 NUM_VERSION incorrect with multi-digit minor or release numbers
Closed: Fixed None Opened 11 years ago by pviktori.

We use NUM_VERSION for comparing versions. NUM_VERSION is defined as a simple string concatenation of the major, minor and release numbers, so it doesn't preserve version ordering:

  • IPA 3.1.99: NUM_VERSION = 3199
  • IPA 3.2.0: NUM_VERSION = 320

This causes an error when installing a replica:
ipa : ERROR A replica file from a newer release (3199) cannot be installed on an older version (312)

So far this only affects unreleased versions.


Metadata Update from @pviktori:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 3.2 - 2013/04-05 (GA)

7 years ago

Login to comment on this ticket.

Metadata