Project

General

Profile

Actions

Bug #10488

closed

Content Views list for Lifecycle Environment throws error and won't load

Added by Eric Helms almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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:

https://gist.github.com/mccun934/75cfaff830c26244c9b0

Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5224 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF