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 8 years ago. Updated almost 6 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 #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5775 added
Actions #2

Updated by Chris Duryee about 8 years ago

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

Updated by Chris Duryee about 8 years ago

  • Bugzilla link set to 1271000
Actions #4

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF