Actions
Bug #22044
closedISE when publishing a composite with cv containing puppet content
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
Updated by Brad Buckingham almost 7 years ago
- Target version changed from 240 to 242
Updated by Justin Sherrill almost 7 years ago
- Assignee set to Partha Aji
- Priority changed from Normal to Urgent
- Translation missing: en.field_release set to 284
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7165 added
Updated by Brad Buckingham over 6 years ago
- Target version changed from 242 to 245
Updated by Eric Helms over 6 years ago
- Status changed from Ready For Testing to Closed
Actions