Project

General

Profile

Actions

Bug #13021

open

creating new content view via API when specifying repository id fails

Added by Thomas McKay over 8 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

016-01-06T10:50:05 [app] [E] NoMethodError: undefined method `composite?' for nil:NilClass
 | /home/vagrant/code/katello/app/models/katello/content_view_repository.rb:21:in `content_view_composite'
 | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:424:in `block in make_lambda'

To reproduce, make sure the call to API includes repository_ids.

Marking this as category API since the UI only allows selection of repos after the CV has been created (which works).

Actions #1

Updated by John Mitsch over 8 years ago

Actions #2

Updated by Eric Helms over 8 years ago

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

Updated by Thomas McKay about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Thomas McKay
Actions #4

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/5738 added
Actions #5

Updated by Eric Helms about 8 years ago

Actions #6

Updated by Eric Helms about 8 years ago

  • Status changed from Ready For Testing to New
  • translation missing: en.field_release changed from 86 to 114
  • Pull request deleted (https://github.com/Katello/katello/pull/5738)
Actions

Also available in: Atom PDF