Error message on permissions card
Support Ticket
+issues
I was trying to set permissions to increase the usefulness of search results. (In doing so discovered that some things I can't hide from users because doing so actually hides the query results themselves on the cards where they're supposed to show.)
But in the process of trying to switch permissions back to reveal the query data to users again, this error appeared in the permissions section of the card.
Error message (visible to admin only)
Couldn't find Card::Revision with id=13614
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/relation/finder_methods.rb:315:in `find_with_ids'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/relation/finder_methods.rb:107:in `find'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/querying.rb:5:in `find'
/usr/cldstr/wagn.org/wagn/ws/web/mods/core/sets/all/content.rb:29:in `current_revision'
/usr/cldstr/wagn.org/wagn/ws/web/mods/core/sets/all/content.rb:6:in `content'
(eval):9:in `content_with_tracking'
/usr/cldstr/wagn.org/wagn/ws/web/mods/standard/sets/right/create.rb:11:in `block (4 levels) in load_implicit_sets'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:56:in `block in alias_view'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:225:in `block in send_final_render_method'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:364:in `with_inclusion_mode'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:224:in `send_final_render_method'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:66:in `block in define_render_methods'
/usr/cldstr/wagn.org/wagn/ws/web/mods/core/formats/html_format.rb:236:in `content_field'
/usr/cldstr/wagn.org/wagn/ws/web/mods/standard/sets/rstar/rules.rb:158:in `block (5 levels) in load_implicit_sets'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:184:in `block in method_missing'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_view/helpers/capture_helper.rb:40:in `capture'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_view/helpers/form_helper.rb:378:in `form_for'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:186:in `method_missing'
/usr/cldstr/wagn.org/wagn/ws/web/mods/standard/sets/rstar/rules.rb:140:in `block (4 levels) in load_implicit_sets'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:225:in `block in send_final_render_method'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:364:in `with_inclusion_mode'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:224:in `send_final_render_method'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:66:in `block in define_render_methods'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:198:in `render'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:206:in `_render'
/usr/cldstr/wagn.org/wagn/ws/web/mods/standard/sets/rstar/rules.rb:108:in `block (4 levels) in load_implicit_sets'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:225:in `block in send_final_render_method'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:364:in `with_inclusion_mode'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:224:in `send_final_render_method'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:66:in `block in define_render_methods'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:70:in `block in define_render_methods'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:198:in `render'
/usr/cldstr/wagn.org/wagn/ws/web/mods/standard/sets/all/rich_html.rb:13:in `block (4 levels) in load_implicit_sets'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:225:in `block in send_final_render_method'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:364:in `with_inclusion_mode'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:224:in `send_final_render_method'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:66:in `block in define_render_methods'
/usr/cldstr/wagn.org/wagn/ws/web/lib/card/format.rb:70:in `block in define_render_methods'
/usr/cldstr/wagn.org/wagn/ws/web/app/controllers/application_controller.rb:66:in `show'
/usr/cldstr/wagn.org/wagn/ws/web/app/controllers/card_controller.rb:17:in `read'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/abstract_controller/base.rb:167:in `process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal/rendering.rb:10:in `process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:436:in `_run__3260770455349681350__process_action__3428675383186668864__callbacks'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:17:in `process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal/rescue.rb:29:in `process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `block in instrument'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in `instrument'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/abstract_controller/base.rb:121:in `process'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:45:in `process'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal.rb:203:in `dispatch'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_controller/metal.rb:246:in `block in action'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:36:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/head.rb:14:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/flash.rb:242:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/query_cache.rb:64:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `_run__1182972730584140161__call__1848367518893636056__callbacks'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/airbrake-3.1.14/lib/airbrake/rails/middleware.rb:13:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/railties-3.2.14/lib/rails/rack/logger.rb:32:in `call_app'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `block in call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/tagged_logging.rb:22:in `tagged'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/actionpack-3.2.14/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/airbrake-3.1.14/lib/airbrake/user_informer.rb:16:in `_call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/airbrake-3.1.14/lib/airbrake/user_informer.rb:12:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/railties-3.2.14/lib/rails/engine.rb:484:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/railties-3.2.14/lib/rails/application.rb:231:in `call'
/usr/cldstr/wagn.org/wagn/ws/gems/ruby/1.9.1/gems/railties-3.2.14/lib/rails/railtie/configurable.rb:30:in `method_missing'
/usr/lib/ruby/1.9.1/phusion_passenger/rack/request_handler.rb:97:in `process_request'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_request_handler.rb:520:in `accept_and_process_next_request'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
/usr/lib/ruby/1.9.1/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
/usr/lib/ruby/1.9.1/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application'
/usr/lib/ruby/1.9.1/phusion_passenger/utils.rb:470:in `safe_fork'
/usr/lib/ruby/1.9.1/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:180:in `start'
/usr/lib/ruby/1.9.1/phusion_passenger/rack/application_spawner.rb:129:in `start'
/usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
/usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
:10:in `synchronize'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
/usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
/usr/lib/ruby/1.9.1/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/usr/lib/ruby/1.9.1/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99:in `'
I also seem to be created new cards with wild abandon trying to return the permissions to how they should be. There are now *self+*read cards that didn't exist a second ago and don't seem to do anything, except I've ruined the search results query that used to be working. And I don't know what's safe to get rid of. :(
http://teenwolfwiki.416.cldstr.com/wagn/:search?_keyword=listedin
The idea was just to make the *listedin card Read for Administrator only. But that hid all the query results too. I've been trying to put it back, but it just keeps making more cards and showing the above error.
I don't know if anyone did anything, but this seems to have healed itself.
I didn't do anything, but the above looks like a cache error. Something probably cleared the cache.