Bug #10488
closedContent Views list for Lifecycle Environment throws error and won't load
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1220557
1) Publish and Promote Content Views into a Lifecycle Environment that is not Library.
2) Go to Content -> Lifecycle Enviromnents
3) Select environment (eg, DEV)
4) Click Content Views, note error:
2015-05-11 16:06:12 [I] Processing by Katello::Api::V2::EnvironmentsController#index as JSON
2015-05-11 16:06:12 [I] Parameters: {"organization_id"=>"5", "api_version"=>"v2"}
2015-05-11 16:06:12 [I] Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.39/app/views/katello/api/v2/environments/index.json.rabl within katello/api/v2/layouts/collection (269.8ms)
2015-05-11 16:06:12 [I] Completed 200 OK in 280ms (Views: 207.6ms | ActiveRecord: 64.8ms)
2015-05-11 16:06:12 [I] Processing by Katello::Api::V2::ContentViewsController#index as JSON
2015-05-11 16:06:12 [I] Parameters: {"environment_id"=>"", "full_result"=>"true", "organization_id"=>"5", "api_version"=>"v2"}
2015-05-11 16:06:12 [E] ActiveRecord::RecordNotFound: Couldn't find Katello::KTEnvironment with id=
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:341:in `find_one'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:312:in `find_with_ids'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/finder_methods.rb:107:in `find'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/querying.rb:5:in `find'
Full error:
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5224 added
- Pull request deleted (
)
Updated by Eric Helms over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|266f883c69fb9b43bc6c6520277d82eb2c74e3a9.
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release set to 31
- Triaged changed from No to Yes