{"action":"created","issue":{"url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1337","labels_url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1337/labels{/name}","comments_url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1337/comments","events_url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1337/events","html_url":"https://github.com/projectblacklight/blacklight/issues/1337","id":117308947,"number":1337,"title":"MultipleIncludedBlocks error when generating search_builder with 5.16.3","user":{"login":"flyingzumwalt","id":138930,"avatar_url":"https://avatars.githubusercontent.com/u/138930?v=3","gravatar_id":"","url":"https://api.github.com/users/flyingzumwalt","html_url":"https://github.com/flyingzumwalt","followers_url":"https://api.github.com/users/flyingzumwalt/followers","following_url":"https://api.github.com/users/flyingzumwalt/following{/other_user}","gists_url":"https://api.github.com/users/flyingzumwalt/gists{/gist_id}","starred_url":"https://api.github.com/users/flyingzumwalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyingzumwalt/subscriptions","organizations_url":"https://api.github.com/users/flyingzumwalt/orgs","repos_url":"https://api.github.com/users/flyingzumwalt/repos","events_url":"https://api.github.com/users/flyingzumwalt/events{/privacy}","received_events_url":"https://api.github.com/users/flyingzumwalt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-17T08:44:47Z","updated_at":"2015-11-17T14:29:19Z","closed_at":null,"body":"This prevents upgrading to the latest blacklight (5.16.3), which is a prerequisite for upgrading to blacklight 6.\r\n\r\n```\r\n/Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/concern.rb:126:in `included': Cannot define multiple 'included' blocks for a Concern (ActiveSupport::Concern::MultipleIncludedBlocks)\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/blacklight-5.16.3/app/controllers/concerns/blacklight/catalog.rb:9:in `<module:SearchContext>'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/blacklight-5.16.3/app/controllers/concerns/blacklight/catalog.rb:6:in `<module:Catalog>'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/blacklight-5.16.3/app/controllers/concerns/blacklight/catalog.rb:2:in `<top (required)>'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `block in require'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:230:in `block in load_dependency'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:633:in `new_constants_in'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:230:in `load_dependency'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'\r\n\tfrom /Users/matt/Develop/ruby/toshokan/app/controllers/catalog_controller.rb:2:in `<top (required)>'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:443:in `load'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:443:in `block in load_file'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:633:in `new_constants_in'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:442:in `load_file'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:342:in `require_or_load'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:480:in `load_missing_constant'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:180:in `const_missing'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:512:in `load_missing_constant'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:180:in `const_missing'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/blacklight_range_limit-5.2.0/lib/blacklight_range_limit.rb:27:in `inject!'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/blacklight_range_limit-5.2.0/lib/blacklight_range_limit/engine.rb:20:in `block in <class:Engine>'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:443:in `instance_exec'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:443:in `block in make_lambda'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:187:in `call'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:187:in `block in simple'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:501:in `call'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:501:in `block in call'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:501:in `each'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:501:in `call'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/callbacks.rb:86:in `run_callbacks'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/actionpack-4.1.14/lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/actionpack-4.1.14/lib/action_dispatch/middleware/reloader.rb:55:in `prepare!'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/application/finisher.rb:52:in `block in <module:Finisher>'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/initializable.rb:30:in `instance_exec'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/initializable.rb:30:in `run'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:in `each'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:in `call'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'\r\n\tfrom /Users/matt/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/initializable.rb:54:in `run_initializers'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/application.rb:300:in `initialize!'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/railtie.rb:194:in `public_send'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/railtie.rb:194:in `method_missing'\r\n\tfrom /Users/matt/Develop/ruby/toshokan/config/environment.rb:5:in `<top (required)>'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `block in require'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:232:in `load_dependency'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/activesupport-4.1.14/lib/active_support/dependencies.rb:247:in `require'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/application.rb:276:in `require_environment!'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/commands/commands_tasks.rb:147:in `require_application_and_environment!'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/commands/commands_tasks.rb:133:in `generate_or_destroy'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/commands/commands_tasks.rb:51:in `generate'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/commands/commands_tasks.rb:40:in `run_command!'\r\n\tfrom /Users/matt/.rvm/gems/ruby-2.1.4@toshokan/gems/railties-4.1.14/lib/rails/commands.rb:17:in `<top (required)>'\r\n\tfrom script/rails:9:in `require'\r\n\tfrom script/rails:9:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/projectblacklight/blacklight/issues/comments/157386014","html_url":"https://github.com/projectblacklight/blacklight/issues/1337#issuecomment-157386014","issue_url":"https://api.github.com/repos/projectblacklight/blacklight/issues/1337","id":157386014,"user":{"login":"jcoyne","id":92044,"avatar_url":"https://avatars.githubusercontent.com/u/92044?v=3","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T14:29:19Z","updated_at":"2015-11-17T14:29:19Z","body":"I suspect that this module gets reopened because of that require:\r\nhttps://github.com/projectblacklight/blacklight/blob/v5.16.4/app/controllers/concerns/blacklight/catalog.rb#L9\r\n"}}