Project

General

Profile

Actions

Bug #20748

closed

hammer content-view filter rule list and info do not list arch field

Added by Brad Buckingham over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:
when fetching information about a content view filter rule, the architecture information is not displayed

Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli_foreman-0.10.2-1.el7sat.noarch
tfm-rubygem-hammer_cli-0.10.2-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.10.0-1.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. create a filter with name=foo, arch=x86_64, version=1234
hammer content-view filter rule create --content-view-filter-id 3 --name foo --arch x86_64 --version 1234

2. list the rules for that filter
hammer content-view filter rule list --content-view-filter-id 3

3. get the details of the filter rule
hammer content-view filter rule info --content-view-filter-id 3 --id 4

Actual results:
[root@sat63-qa-rhel7 ~]# hammer content-view filter rule list --content-view-filter-id 3
--------|-----------|------|---------|-----------------|-----------------|-----------|------------|---------
RULE ID | FILTER ID | NAME | VERSION | MINIMUM VERSION | MAXIMUM VERSION | ERRATA ID | START DATE | END DATE
--------|-----------|------|---------|-----------------|-----------------|-----------|------------|---------
4 | 3 | foo | 1234 | | | | |
--------|-----------|------|---------|-----------------|-----------------|-----------|------------|---------

[root@sat63-qa-rhel7 ~]# hammer content-view filter rule info --content-view-filter-id 3 --id 4
Rule ID: 4
Filter ID: 3
Name: foo
Version: 1234
Created: 2017/08/16 08:01:28
Updated: 2017/08/16 08:01:28

Expected results:
  • hammer content-view filter rule list has an "ARCH" column
  • hammer content-view filter rule info has an "Arch" line

Additional info:

Actions #1

Updated by Brad Buckingham over 7 years ago

  • Subject changed from hammer content-view filter rule list and info do not list arch field to hammer content-view filter rule list and info do not list arch field
  • Target version set to 208
Actions #2

Updated by Brad Buckingham over 7 years ago

  • Status changed from New to Assigned
Actions #3

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/506 added
Actions #4

Updated by Brad Buckingham over 7 years ago

  • Target version changed from 208 to 213
Actions #5

Updated by Brad Buckingham over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by John Mitsch over 7 years ago

  • Translation missing: en.field_release set to 250
Actions

Also available in: Atom PDF