Bug #15395
closedcontent view filter cannot be created
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:
Updated by Zach Huntington-Meath over 8 years ago
- Assignee set to Zach Huntington-Meath
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
Updated by Justin Sherrill over 8 years ago
- Translation missing: en.field_release set to 143
- Difficulty set to medium
Updated by Zach Huntington-Meath over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|3b381817f574e747e0858339e11fb3df158337b1.