Project

General

Profile

Actions

Bug #22044

closed

ISE when publishing a composite with cv containing puppet content

Added by Partha Aji over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

1) Publish a CV with puppet modules
2) Publish a composite containing a version of the above CV
Expected:
Successful Publish

Actual:
ISE ->

2017-12-19T09:11:07 50c3c3ec [app] [D] With body: {"displayMessage":"undefined method `flatten' for
#\u003cKatello::PuppetModule::ActiveRecord_Relation:0x00000008ef9e50\u003e","errors":["undefined method `flatten' for #\u003cKatello::PuppetModule::ActiveRecord_Relation:0x00000008ef9e50\u003e"]}

Stack Trace:

2017-12-19T09:11:07 50c3c3ec [app] [E] NoMethodError: undefined method `flatten' for #<Katello::PuppetModule::ActiveRecord_Relation:0x00000008ef9e50>
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-5.0.6/lib/active_record/relation/delegation.rb:124:in `method_missing'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-5.0.6/lib/active_record/relation/delegation.rb:94:in `method_missing'
 | /home/vagrant/katello/app/models/katello/puppet_module.rb:63:in `group_by_repoid'
 | /home/vagrant/katello/app/models/katello/content_view.rb:528:in `computed_module_ids_by_repoid'
 | /home/vagrant/katello/app/lib/actions/katello/content_view_puppet_environment/create_for_version.rb:10:in `plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.34/lib/dynflow/action.rb:473:in `block (3 levels) in execute_plan'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.34/lib/dynflow/middleware/stack.rb:26:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.34/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.34/lib/dynflow/middleware.rb:18:in `pass'
 | /home/vagr

Actions #1

Updated by Brad Buckingham over 6 years ago

  • Target version changed from 240 to 242
Actions #2

Updated by Justin Sherrill over 6 years ago

  • Assignee set to Partha Aji
  • Priority changed from Normal to Urgent
  • translation missing: en.field_release set to 284
Actions #3

Updated by The Foreman Bot about 6 years ago

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

Updated by Brad Buckingham about 6 years ago

  • Target version changed from 242 to 245
Actions #5

Updated by Eric Helms about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF