Project

General

Profile

Bug #6242

500 on GET of a subscription if not admin

Added by Walden Raines over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

NoMethodError: private method `select' called for nil:NilClass
/home/walden/katello/app/models/katello/authorization/distributor.rb:28:in `readable'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/relation/delegation.rb:14:in `block in readable'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/relation.rb:241:in `block in scoping'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/scoping.rb:98:in `with_scope'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/relation.rb:241:in `scoping'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/relation/delegation.rb:14:in `readable'
(eval):51:in `block in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:87:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:87:in `node'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:42:in `block in compile_hash'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:41:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:41:in `compile_hash'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:21:in `block in build'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:166:in `cache_results'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:20:in `build'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:51:in `to_hash'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:63:in `to_json'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:39:in `block in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:285:in `cache_results'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:39:in `render'
/home/walden/katello/app/views/katello/api/v2/subscriptions/show.json.rabl:1:in `_c9b210e24bd8af859f13dc753a89da05'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/template.rb:145:in `block in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:125:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/template.rb:143:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/deface-0.9.1/lib/deface/action_view_extensions.rb:37:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `block in instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:18:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/renderer.rb:36:in `render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/renderer.rb:17:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:110:in `_render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/streaming.rb:225:in `_render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:103:in `render_to_body'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:88:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/rendering.rb:16:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/walden/katello/app/lib/katello/api/v2/rendering.rb:44:in `respond_with_template'
/home/walden/katello/app/lib/katello/api/v2/rendering.rb:50:in `respond_with_template_resource'
/home/walden/katello/app/lib/katello/api/v2/rendering.rb:7:in `respond_for_show'
/home/walden/katello/app/controllers/katello/api/api_controller.rb:145:in `respond'
/home/walden/katello/app/controllers/katello/api/v2/subscriptions_controller.rb:55:in `show'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:167:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:593:in `block (3 levels) in _run__1393372454630960241__process_action__490058035902128287__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_11005'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:326:in `around'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:310:in `_callback_around_9685'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_11005'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:471:in `block (2 levels) in _run__1393372454630960241__process_action__490058035902128287__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_11004'
/home/walden/foreman/app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_11004'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:415:in `block in _run__1393372454630960241__process_action__490058035902128287__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_11003'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:326:in `around'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:310:in `_callback_around_13'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_11003'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:414:in `_run__1393372454630960241__process_action__490058035902128287__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `block in instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/home/walden/katello/app/controllers/katello/api/api_controller.rb:110:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:121:in `process'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:45:in `process'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal.rb:203:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal.rb:246:in `block in action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:36:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/mapper.rb:43:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:608:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:608:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/apipie-rails-0.1.3/lib/apipie/static_dispatcher.rb:65:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/apipie-rails-0.1.3/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/head.rb:14:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/walden/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/flash.rb:242:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/query_cache.rb:64:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `_run__1130895720613715287__call__1774881904818165908__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/reloader.rb:65:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/home/walden/katello/lib/katello/middleware/silenced_logger.rb:30:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/builder.rb:134:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/rack/log_tailer.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Completed 500 Internal Server Error in 946.4ms (Views: 0.2ms | ActiveRecord: 9.0ms)
With body: {"displayMessage":"private method `select' called for nil:NilClass","errors":["private method `select' called for nil:NilClass"]}

Steps to Reproduce:
1. Create a user with the view subscriptions permission
2. Create at least one subscription
3. Attempt to view the subscription
4. Note error


Related issues

Blocks Katello - Feature #5503: Available UI interactions should reflect a user's permissionsClosed2014-04-29

Associated revisions

Revision 24771893 (diff)
Added by Walden Raines over 6 years ago

Fixes #6242 - remove unused distributor from rabl to fix error.

There was an HTTP 500 on subscription show if you were not admin
(or didn't have the distributor read permission) because distributor
was still referenced from the rabl. This commit removes the reference.

Revision f3fa7d4b
Added by Walden Raines over 6 years ago

Merge pull request #4275 from waldenraines/6242

Fixes #6242 - remove unused distributor from rabl to fix error.

History

#1 Updated by Walden Raines over 6 years ago

  • Blocks Feature #5503: Available UI interactions should reflect a user's permissions added

#2 Updated by Walden Raines over 6 years ago

  • Status changed from New to Assigned

#3 Updated by Walden Raines over 6 years ago

The stack in the description is incorrect, the correct stack is this:

NoMethodError: undefined method `authorized_items' for #<Class:0x0000000ae30e40>
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/dynamic_matchers.rb:55:in `method_missing'
/home/walden/katello/app/models/katello/authorization/lifecycle_environment.rb:49:in `distributors_readable'
/home/walden/katello/app/models/katello/authorization/distributor.rb:28:in `readable'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/relation/delegation.rb:14:in `block in readable'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/relation.rb:241:in `block in scoping'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/scoping.rb:98:in `with_scope'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/relation.rb:241:in `scoping'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/relation/delegation.rb:14:in `readable'
(eval):51:in `block in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:87:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:87:in `node'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:42:in `block in compile_hash'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:41:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:41:in `compile_hash'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:21:in `block in build'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:166:in `cache_results'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/builder.rb:20:in `build'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:51:in `to_hash'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:63:in `to_json'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:39:in `block in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:285:in `cache_results'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rabl-0.9.0/lib/rabl/engine.rb:39:in `render'
/home/walden/katello/app/views/katello/api/v2/subscriptions/show.json.rabl:1:in `_36815f5e92c35eb0da896a5c77260c5e'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/template.rb:145:in `block in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:125:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/template.rb:143:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `block in instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/template_renderer.rb:18:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/renderer.rb:36:in `render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_view/renderer/renderer.rb:17:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:110:in `_render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/streaming.rb:225:in `_render_template'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:103:in `render_to_body'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:88:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/rendering.rb:16:in `render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/walden/katello/app/lib/katello/api/v2/rendering.rb:44:in `respond_with_template'
/home/walden/katello/app/lib/katello/api/v2/rendering.rb:50:in `respond_with_template_resource'
/home/walden/katello/app/lib/katello/api/v2/rendering.rb:7:in `respond_for_show'
/home/walden/katello/app/controllers/katello/api/api_controller.rb:145:in `respond'
/home/walden/katello/app/controllers/katello/api/v2/subscriptions_controller.rb:55:in `show'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:167:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:593:in `block (3 levels) in _run__4380435376349467291__process_action__2372782676364243092__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_3394'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:326:in `around'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:310:in `_callback_around_2506'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3394'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:471:in `block (2 levels) in _run__4380435376349467291__process_action__2372782676364243092__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_3393'
/home/walden/foreman/app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3393'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:415:in `block in _run__4380435376349467291__process_action__2372782676364243092__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_3392'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:326:in `around'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:310:in `_callback_around_13'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3392'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:414:in `_run__4380435376349467291__process_action__2372782676364243092__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `block in instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/notifications.rb:123:in `instrument'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/home/walden/katello/app/controllers/katello/api/api_controller.rb:110:in `process_action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/base.rb:121:in `process'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/abstract_controller/rendering.rb:45:in `process'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal.rb:203:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_controller/metal.rb:246:in `block in action'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:36:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/mapper.rb:43:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:608:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/routing/route_set.rb:608:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/apipie-rails-0.1.3/lib/apipie/static_dispatcher.rb:65:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/apipie-rails-0.1.3/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/head.rb:14:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/walden/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/flash.rb:242:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/query_cache.rb:64:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `_run__172469132626892057__call__3464044721092723489__callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/reloader.rb:65:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/home/walden/katello/lib/katello/middleware/silenced_logger.rb:30:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.18/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/actionpack-3.2.18/lib/action_dispatch/middleware/static.rb:63:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/engine.rb:484:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/application.rb:231:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/builder.rb:134:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in `block in call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `each'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/rack/log_tailer.rb:17:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/walden/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
/home/walden/.rvm/gems/ruby-1.9.3-p547/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Completed 500 Internal Server Error in 314.0ms (Views: 0.2ms | ActiveRecord: 4.5ms)
With body: {"displayMessage":"undefined method `authorized_items' for #<Class:0x0000000ae30e40>","errors":["undefined method `authorized_items' for #<Class:0x0000000ae30e40>"]}

#4 Updated by Walden Raines over 6 years ago

  • Status changed from Assigned to Ready For Testing

#5 Updated by Eric Helms over 6 years ago

  • Difficulty set to easy
  • Triaged changed from No to Yes

#6 Updated by Walden Raines over 6 years ago

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

Applied in changeset katello|commit:247718930c08759b807728a9f4c9618b6fdf127d.

#7 Updated by Eric Helms over 6 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1112772

#8 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF