Project

General

Profile

Actions

Bug #14141

closed

Can't delete puppet module repo

Added by John Mitsch about 8 years ago. Updated over 5 years ago.

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

Description

error is:

 undefined method `repoids' for #<Katello::PuppetModule:0x00000005685858>

screenshot w/ traceback http://www.clipular.com/c/5955964155461632.png?k=VF3tc3oAEQhp8TFxXc1F12rc8aM

To reproduce:
1. Create a puppet module repo
2. Delete puppet module repo

I had the repo published in a content view, so that may be a factor as well.

Actions #1

Updated by Brad Buckingham about 8 years ago

It looks like this issue may have been introduced by the following commit which introduced additional modeling for the module:

https://github.com/Katello/katello/commit/eccdbdebb3f859afa83998c44fca20fc441d5505#diff-7c38fb2787634c4edb51230f15b7ecc4R8

It looks like the model does have a 'repositories' relationship, so we can probably update 'puppet_module.repoids' to be something like 'puppet_module.repository_ids'. We need to make sure, however, that there are no other scenarios where repoids is still being used.

Actions #2

Updated by Brad Buckingham about 8 years ago

  • Bugzilla link set to 1316681
Actions #3

Updated by Andrew Kofink about 8 years ago

  • Assignee set to Andrew Kofink
Actions #4

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5873 added
Actions #5

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions #6

Updated by The Foreman Bot about 8 years ago

  • Pull request https://github.com/Katello/katello/pull/5889 added
Actions #7

Updated by Andrew Kofink almost 8 years ago

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

Also available in: Atom PDF