Project

General

Profile

Bug #9741

hammer: content-view version list failed

Added by Partha Aji about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1198833
Description of problem:
content-view version list failed

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150303.0

How reproducible:
Always

Steps to Reproduce:
hammer> content-view version list --help
Usage:
content-view version list [OPTIONS]

Options:
--composite-version-id COMPOSITE_VERSION_ID Filter versions that are components in the specified composite version
--content-view CONTENT_VIEW_NAME Content view name
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--environment ENVIRONMENT_NAME Name to search by
--environment-id ENVIRONMENT_ID
--version VERSION Filter versions by version number
-h, --help print help

hammer> content-view version list --content-view=cv1
undefined method `pulp_id' for nil:NilClass

Actual results:
Error as shown above (foreman production.log attached)

Expected results:
content view versions listed

Additional info:


Related issues

Has duplicate Katello - Bug #9797: undefined method error on 'hammer content-view version list' commandDuplicate2015-03-17

Associated revisions

Revision a7a6192f (diff)
Added by Partha Aji about 8 years ago

Fixes #9741 - Fixed a puppet module count error in a CVV

A nil reference error was being raised when one requested the puppet
module count in a content view version if there were contnet view puppet
environments associated to it. This commit fixes that by checking for
the nil case.

Revision 4da20dfb
Added by Partha Aji about 8 years ago

Merge pull request #5107 from parthaa/cv-version

Fixes #9741 - Fixed a puppet module count error in a CVV

History

#1 Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 67
  • Pull request https://github.com/Katello/katello/pull/5107 added
  • Pull request deleted ()

#2 Updated by Eric Helms about 8 years ago

  • Target version changed from 67 to 68

#3 Updated by Eric Helms about 8 years ago

  • Legacy Backlogs Release (now unused) set to 23
  • Triaged changed from No to Yes

#4 Updated by Eric Helms about 8 years ago

  • Has duplicate Bug #9797: undefined method error on 'hammer content-view version list' command added

#5 Updated by Partha Aji about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF