Project

General

Profile

Bug #15395

content view filter cannot be created

Added by Zach Huntington-Meath over 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Team Backlog:
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:

Associated revisions

Revision 3b381817 (diff)
Added by Zach Huntington-Meath over 2 years ago

Fixes #15395 - Repository name searches include organization-id. (#408)

Adds one organization-validation test.

Added organization-specification test.

Creates test for repository search options creator.

Fixes issue with filter.

Fixed test issue.

History

#1 Updated by Zach Huntington-Meath over 2 years ago

  • Assignee set to Zach Huntington-Meath

#2 Updated by The Foreman Bot over 2 years ago

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

#3 Updated by Justin Sherrill over 2 years ago

  • Legacy Backlogs Release (now unused) set to 143
  • Difficulty set to medium

#4 Updated by Zach Huntington-Meath over 2 years ago

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

Also available in: Atom PDF