Project

General

Profile

Actions

Bug #13659

closed

removing puppet module from repo causes 500 on "puppet modules" page in CV details

Added by Chris Duryee about 9 years ago. Updated almost 7 years ago.

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

Description

The following steps will result in a 500:

  • create a product with a puppet repo, upload one puppet module
  • create a CV and associate the puppet repo with it (no need to publish it)
  • delete puppet module from repo associated with product
  • view CV details page for 'puppet' tab

This results in a 500 with the following stack trace:

NoMethodError: undefined method `version' for nil:NilClass
 | /home/vagrant/katello/app/models/katello/content_view_puppet_module.rb:34:in `computed_version'
Actions

Also available in: Atom PDF