Project

General

Profile

Actions

Bug #12707

closed

hammer repository list not working with content-view-version

Added by Thomas McKay about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

$ hammer repository list --organization "Mega Corporation" --content-view "virt-who from sat-tools" 
Error: found more than one content_view_version
$ hammer repository list --organization "Mega Corporation" --content-view "virt-who from sat-tools" --content-view-version 2.0
---|------|---------|--------------|----
ID | NAME | PRODUCT | CONTENT TYPE | URL
---|------|---------|--------------|----
$ 

Because I had more than one content view version the API prompted that one must be chosen. Specifying one, however, yielded the same results. Problem is in query portion of the API controller.

Actions

Also available in: Atom PDF