Project

General

Profile

Actions

Bug #14909

closed

hammer content-view filter info returns wrong information

Added by Zach Huntington-Meath almost 8 years ago. Updated over 5 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=1328943
Description of problem:
When running `hammer content-view filter info` passing `content-view-id` and `name` the command should print the information for the given name if found, otherwise should fail and state that was not able to find a match for the specified name.

Version-Release number of selected component (if applicable):
satellite-6.2.0-8.2.beta.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a content view filter with a valid name
2. Try to get the information by passing an empty name or any blank character

Actual results:
The command returns one already created filter not even matching the name

Expected results:
The command returns the right information if the name matches or states that was not able to find a content view with the specified name.

Additional info:

[root@sat62-server ~]# LANG=en_US.UTF-8 hammer -v -u admin -p changeme content-view filter info --name="" --content-view-id="521"
Filter ID: 3
Name: 竗혫㧺თ훣ᨠ茛ᒵ扙ԗ
Type: rpm
Inclusion: false
Description:
Repositories:

Rules:

Actions #1

Updated by Zach Huntington-Meath almost 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Zach Huntington-Meath
Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Description updated (diff)
  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6013 added
Actions #3

Updated by Zach Huntington-Meath almost 8 years ago

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

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF