Created attachment 1165725 [details] Screen shot of issue Description of problem: The drop down menu for composite content view versions are not sorted in numerical order Version-Release number of selected component (if applicable): 6.1.8 How reproducible: Always Steps to Reproduce: 1. Create 76 versions of a content view 2. View the drop down of versions on the Composite Content View Build page Actual results: The versions are not sorted numerically Expected results: The versions should be sorted numerically Additional info: Attached is a screen shot of the issue. The sorting is correct on the list of versions but on drop down menus, they are not.
Created redmine issue http://projects.theforeman.org/issues/16333 from this bug
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.
Patch fix available for this issue now https://github.com/Katello/katello/pull/8392. Re-opening this Bug.
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/16333 has been resolved.
FailedQA. @Satellite 6.7.0 Snap5 tfm-rubygem-katello-3.14.0-0.4.rc2.el7sat.noarch used the manual reproducer described in comment#0 1. Create 12 versions of a Content View 2. View the drop down of versions on the Composite Content View Build page Satellite 6.6.0 (reproducer): Always Use Latest (Currently 12.0) 12.0 11.0 9.0 6.0 5.0 2.0 10.0 8.0 7.0 4.0 3.0 1.0 >>> reproduced, dropdown items are not sorted vs. Satellite 6.7.0 Snap5 (fix): Always Use Latest (Currently 12.0) 9.0 8.0 7.0 6.0 5.0 4.0 3.0 2.0 12.0 11.0 10.0 1.0 >>> failed, dropdown items are sorted *alphabetically* (should be numerically instead)
This seems to be a problem sorting the CCV based on the version, new patch is sent upstream for review https://github.com/Katello/katello/pull/8473
Moving back to post based upon the new PR being merged upstream.
Verified on Satellite 6.7 snap 8 using manual reproducer with 30 versions of content view. Versions are sorted correctly in numerical order.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1454