Project

General

Profile

Actions

Bug #16349

open

Newly published Content-view version info is not working with environment name in hammer cli

Added by Brad Buckingham over 7 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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:
Actions #1

Updated by Brad Buckingham over 7 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

Also available in: Atom PDF