Hi,
the XML extension update server has version value 2.0.0
The extension XML version value is 2.0.
Joomla detects that there is available update.
PS: if I change both versions with same format works.
2.0.0 and 2.0 should be considered as same value.
Extension update should consider the extension is up to date.
Extension Updater displays new available update from 2.0 to 2.0.0
Joomla 3.9.16
PHP 7.2
Labels |
Added:
?
|
Status | New | ⇒ | Expected Behaviour |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-25 19:17:25 |
Closed_By | ⇒ | jwaisner |
Status | Expected Behaviour | ⇒ | Closed |
Closed_By | jwaisner | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/28782
Agreed. This behavior is expected as 2.0 is considered a lower version than 2.0.0.
Well we use version_compare here: https://www.php.net/manual/en/function.version-compare.php and this is the default behavior: https://3v4l.org/shGWF so it seems to be the correct behavior.