Actions
Bug #6828
closedUI shows wrong latest version of puppet module
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1104636
Description of problem:
when adding puppet module to content view, UI shows wrong latest version number
see screenshot, there is Use Latest (currently 0.0.2), but should be 0.1.0
Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140529.0
How reproducible:
always
Steps to Reproduce:
1. create puppet repository and upload several versions of one puppet module (latest version first, )
2. create content view and add uploaded module
Added by Walden Raines almost 11 years ago
Added by Walden Raines over 10 years ago
Merge pull request #4501 from waldenraines/6828
Fixes #6828/BZ1104636: show correct version of puppet module.
Actions
Fixes #6828/BZ1104636: show correct version of puppet module. …
The latest version of puppet modules was being incorrectly
calculated, based on an incorrect assumption that the last
item in the array was the latest version. This commit
explicitly sorts the puppet modules by the version such that
the latest version is correct.
http://projects.theforeman.org/issues/6828
https://bugzilla.redhat.com/show_bug.cgi?id=1104636