Bug #10588
closedNoMethodError: undefined method `archive_puppet_evironment' for #<Katello::ContentViewVersion:0x0000000f66e518>
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1223755
Description of problem:
when you create a content-view and select the version to see what all packages/puppet-modules it contains then on selecting puppet-module tab, UI remains in loading state and production.log filled with long traceback:
2015-05-21 13:50:31 [I] Processing by Katello::Api::V2::PuppetModulesController#index as JSON
2015-05-21 13:50:31 [I] Parameters: {"content_view_version_id"=>"2", "page"=>"1", "search"=>"", "api_version"=>"v2"}
2015-05-21 13:50:31 [E] NoMethodError: undefined method `archive_puppet_evironment' for #<Katello::ContentViewVersion:0x0000000f66e518>
/opt/rh/ruby193/root/usr/share/gems/gems/activemodel-3.2.8/lib/active_model/attribute_methods.rb:407:in `method_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_methods.rb:149:in `method_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.42/app/controllers/katello/api/v2/puppet_modules_controller.rb:21:in `filter_by_content_view_version'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.42/app/controllers/katello/concerns/api/v2/repository_content_controller.rb:44:in `index'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:561:in `block (4 levels) in run_2924347591320558897__process_action__2658524545881076663__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_11495'
Version-Release number of selected component (if applicable):
sat6.1 GA snap5
How reproducible:
always
Steps to Reproduce:
1. create a content-view
2. publish it
3. select version1
4. goto puppet-modules tab
Actual results:
page remains in loading state and long traceback in production.log
Expected results:
no error and page should be loaded properly.
Additional info:
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release set to 51
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5244 added
- Pull request deleted (
)
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release changed from 51 to 55
Updated by Eric Helms almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|014c84c3b5d77981e69497d95922c71c55592031.