Actions
Bug #16349
openNewly published Content-view version info is not working with environment name in hammer cli
Status:
New
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
-
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1367659
Description of the Bugzilla?
-> User has promoted the content-view version from 1.0 to 2.0 after that he is not able to view the info of new version using environment name, same is working with environment id.
How reproducible
1. Create a content view.
2. Publish the content view.
/usr/bin/hammer content-view publish --name 'cv' --organization 'redhat'
/usr/bin/hammer content-view version info --content-view "cv" --organization redhat --environment Library # able to see output
3. Publish new version of content view.
/usr/bin/hammer content-view publish --name 'cv' --organization 'redhat'
/usr/bin/hammer content-view version info --content-view cv --organization redhat --environment Library
Error: found more than one content_view_version
/usr/bin/hammer content-view version info --content-view cv --organization redhat --environment-id 2
ID: 6
Name: cv 2.0
Actual results:
Error: found more than one content_view_version
Expected results:
ID: 6
Name: cv 2.0
Version: 2.0
Description:
Updated by Brad Buckingham over 8 years ago
- Subject changed from Newly published Content-view version info is not working with environment name in hammer cli to Newly published Content-view version info is not working with environment name in hammer cli
- Translation missing: en.field_release set to 114
Actions