Project

General

Profile

Actions

Bug #20748

closed

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

Added by Brad Buckingham about 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

Also available in: Atom PDF