Project

General

Profile

Bug #25145

Hammer command with content view version --order is not working as expected.

Added by Stephen Benjamin over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1624416

Description of problem:

After upgrading Satellite 6.2 to 6.3 hammer content view version --order parameter not functioning as expected.

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

tfm-rubygem-hammer_cli-0.11.0.1-1.el7sat.noarch

How reproducible:

Steps to Reproduce:

1. Publish multiple version of a content view.

2. Run # hammer --output csv content-view version list --content-view client --organization redhat --order 'version DESC'

Actual results:

  1. hammer --output csv content-view version list --content-view client --organization redhat --order 'version DESC'
    ID,Name,Version,Lifecycle Environments

Expected results:

  1. hammer --output csv content-view version list --content-view client --organization redhat --order 'version DESC'
    ID,Name,Version,Lifecycle Environments
    4,client 2.0,2.0,Library
    3,client 1.0,1.0,"Dev, Prod"

Additional info:

This parameter is working well in Satellite 6.2.

Associated revisions

Revision 4d473ada (diff)
Added by Stephen Benjamin over 1 year ago

fixes #25145 - remove unnecessary custom sorts

History

#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Stephen Benjamin
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7741 added

#2 Updated by Justin Sherrill over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.9.0
  • Subject changed from Hammer command with content view version --order is not working as expected. to Hammer command with content view version --order is not working as expected.
  • Fixed in Releases Katello 3.9.0 added

#3 Updated by Stephen Benjamin over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF