Project

General

Profile

Actions

Bug #15395

closed

content view filter cannot be created

Added by Zach Huntington-Meath over 8 years ago. Updated over 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1343006
Description of problem:
When I try to create new content view filter I am getting:
Could not create the filter:
One of parameters [ organization_id ] required but not specified.

But organization-id was actually specified. For example:

hammer -v -u user -p pass --output=csv content-view filter create --name="my_name" --inclusion="false" --repositories="zAlZrFsZGeQJvvK" --content-view-id="1748" --organization-id="1730" --type="rpm"

Just in case, chosen organization is a valid one:

hammer -u user -p pass organization info --id 1730

Id: 1730
Name: bHLGgI
Users:

Smart proxies:
liJQg0FLPr
Subnets:
...

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

How reproducible:
Always

Steps to Reproduce:
1. Create new organization
2. Create new product for that organization
3. Create yum repository for that product
4. Sync that repo
5. Create new content view for that organization
6. Add repository to content view
7. Try to use command that was used in example above

Actual results:
Unexpected error is raised

Expected results:
Content view filter is created successfully

Additional info:

Actions #1

Updated by Zach Huntington-Meath over 8 years ago

  • Assignee set to Zach Huntington-Meath
Actions #2

Updated by The Foreman Bot over 8 years ago

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

Updated by Justin Sherrill over 8 years ago

  • Translation missing: en.field_release set to 143
  • Difficulty set to medium
Actions #4

Updated by Zach Huntington-Meath over 8 years ago

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

Also available in: Atom PDF