Bug 1327622 - During selection of puppet module - "Use Latest" is incorrectly pointing to lower version than available in the repo
Summary: During selection of puppet module - "Use Latest" is incorrectly pointing to l...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.1.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Brad Buckingham
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-15 13:37 UTC by Dmitry Zhukovski
Modified: 2021-06-10 11:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16327 0 None None None 2016-08-26 12:13:36 UTC

Description Dmitry Zhukovski 2016-04-15 13:37:11 UTC
Description of problem:
During selection of puppet module - "Use Latest" is incorrectly pointing to lower version than available in the repo

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Enable and sync Puppet Forge Repo
2. Create new CV
3. Add new Puppet module (for example abiquo) -> Select version
  * you see 
Use Latest (currently 0.1.6)
0.1.6
0.1.3
0.1.2
4. Choose 0.1.6 (Not Use Latest (currently 0.1.6))
5. Select another version of same puppet module
  * you see
Use Latest (currently 0.1.3)
0.1.3
0.1.2


Actual results:
Use Latest is pointing to version 0.1.3 (Latest from current displayed list) 

Expected results:
Use Latest should point to 0.1.6 - actual Latest version available.

Additional info:
Probably 0.1.6 version should appear on a list as well. Then Use Latest will point to correct version

Comment 1 Bryan Kearney 2016-07-26 18:59:23 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 2 Brad Buckingham 2016-08-26 12:13:35 UTC
Created redmine issue http://projects.theforeman.org/issues/16327 from this bug

Comment 5 Satellite Program 2017-01-17 03:19:39 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16327 has been resolved.

Comment 6 Brad Buckingham 2017-08-09 16:53:08 UTC
Verified on Satellite 6.3 SNAP 10 : satellite-6.3.0-16.0.beta.el7sat.noarch, tfm-rubygem-katello-3.4.4-1.el7sat.noarch

- create a puppet repo
- upload modules (e.g. theforeman) for multiple versions (e.g. 2.0.1, 1.3.0..)
- create a cv
- on the CV, Puppet Modules
  - Add New Module - 2.0.1
  - 'Select new version', verify 'Always Use Latest (2.0.1)' and 1.3.0 listed
  - 'Select Version' 1.3.0
  - 'Select new version', verify 'Always Use Latest (2.0.1)' and 2.0.1 listed
  - 'Select Version' 2.0.1
  - 'Select new version', verify 'Always Use Latest (2.0.1)' and 1.3.0 listed
  - 'Select Version' 'Always Use Latest'
  - 'Select new version', verify 'Always Use Latest (2.0.1)', 2.0.1 and 1.3.0 listed

Comment 7 Satellite Program 2018-02-21 16:54:17 UTC
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-2018:0336


Note You need to log in before you can comment on or make changes to this bug.