Skip to content

[BACKPORT] Use version_compare to compare version strings correctly #18423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

lewisvoncken
Copy link
Contributor

Description

Backport of PR #18173

Version numbers were compared with regular alphanumeric string comparison <, which results in 1.10 < 1.9. Instead, version_compare should be used

Manual testing scenarios

  1. Update a module from version 1.9.0 to 1.10.0 and open the shop in the browser
  2. Expected message: "run setup:upgrade", not "run composer install"

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@okorshenko
Copy link
Contributor

Hi @lewisvoncken
Please look at the broken tests. Thank you

@okorshenko
Copy link
Contributor

Hi @lewisvoncken Could you please let us know if you are going to proceed with this PR. Thank you

@okorshenko
Copy link
Contributor

Hi @lewisvoncken
we are closing this PR due to inactivity
Feel free to reopen it once ready
Thank you

@okorshenko okorshenko closed this Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants