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: