Project

General

Profile

Actions

Bug #13021

open

creating new content view via API when specifying repository id fails

Added by Thomas McKay almost 9 years ago. Updated 3 months 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

Also available in: Atom PDF