Project

General

Profile

Bug #13021

creating new content view via API when specifying repository id fails

Added by Thomas McKay over 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
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).

History

#1 Updated by John Mitsch over 3 years ago

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86

#3 Updated by Thomas McKay over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Thomas McKay

#4 Updated by The Foreman Bot over 3 years ago

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

#5 Updated by Eric Helms over 3 years ago

#6 Updated by Eric Helms over 3 years ago

  • Status changed from Ready For Testing to New
  • Legacy Backlogs Release (now unused) changed from 86 to 114
  • Pull request deleted (https://github.com/Katello/katello/pull/5738)

Also available in: Atom PDF