Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing error caused when bcms_cas module enabled #2

Open
neilabdev opened this issue Oct 25, 2013 · 0 comments
Open

Routing error caused when bcms_cas module enabled #2

neilabdev opened this issue Oct 25, 2013 · 0 comments

Comments

@neilabdev
Copy link

Hello, apologies beforehand if this is an issue on my side but I could find no additional documentation for setup besides that provided on github which yields the following exception when installing it on BrowserCMS 3.5.6/Rails 3.2.14 . I've configured the rubycas-server which works perfectly with SQL auth, but when pointing to it with the bcms_cas module I received the following exception. If I then comment out the gem the site works without issues, besides not being able to use CAS auth. Any ideas?

An Unexpected exception occurred: No route matches {:controller=>"cms/content", :action=>"show"}

/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:540:in raise_routing_error' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:536:inrescue in generate'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:528:in generate' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:569:ingenerate'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:594:in url_for' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/url_for.rb:148:inurl_for'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rubycas-client-2.3.9/lib/casclient/frameworks/rails/filter.rb:339:in read_service_url' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rubycas-client-2.3.9/lib/casclient/frameworks/rails/filter.rb:160:inlogin_url'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rubycas-client-2.3.9/lib/casclient/frameworks/rails/filter.rb:244:in redirect_to_cas_for_authentication' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rubycas-client-2.3.9/lib/casclient/frameworks/rails/filter.rb:239:inunauthorized!'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rubycas-client-2.3.9/lib/casclient/frameworks/rails/filter.rb:125:in filter' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:321:inbefore'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:310:in _callback_before_1023' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:484:in_run__1655542326588836798__process_action__1215556478248565563__callbacks'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in __run_callback' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:in run_callbacks' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/abstract_controller/callbacks.rb:17:inprocess_action'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_controller/metal/rescue.rb:29:in process_action' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in block in instrument' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/notifications/instrumenter.rb:20:ininstrument'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/notifications.rb:123:in instrument' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_controller/metal/params_wrapper.rb:207:in process_action' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activerecord-3.2.14/lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/abstract_controller/base.rb:121:in process' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/abstract_controller/rendering.rb:45:inprocess'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_controller/metal.rb:203:in dispatch' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_controller/metal/rack_delegation.rb:14:indispatch'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_controller/metal.rb:246:in block in action' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:73:in dispatch' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:36:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/journey-1.0.4/lib/journey/router.rb:56:ineach'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/journey-1.0.4/lib/journey/router.rb:56:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/routing/route_set.rb:608:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/devise_cas_authenticatable-1.3.2/lib/devise_cas_authenticatable/single_sign_out/rack.rb:11:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/warden-1.2.3/lib/warden/manager.rb:35:inblock in call'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/warden-1.2.3/lib/warden/manager.rb:34:in catch' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/warden-1.2.3/lib/warden/manager.rb:34:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/best_standards_support.rb:17:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/etag.rb:23:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/head.rb:14:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/params_parser.rb:21:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/flash.rb:242:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/cookies.rb:341:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activerecord-3.2.14/lib/active_record/query_cache.rb:64:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in _run__1178148929422408685__call__1547799115467619804__callbacks' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:405:in__run_callback'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:385:in _run_call_callbacks' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/callbacks.rb:81:inrun_callbacks'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/callbacks.rb:27:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/reloader.rb:65:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/remote_ip.rb:31:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/debug_exceptions.rb:16:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/show_exceptions.rb:56:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/railties-3.2.14/lib/rails/rack/logger.rb:32:incall_app'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in block in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/tagged_logging.rb:22:intagged'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/railties-3.2.14/lib/rails/rack/logger.rb:16:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/request_id.rb:22:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/runtime.rb:17:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/activesupport-3.2.14/lib/active_support/cache/strategy/local_cache.rb:72:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/lock.rb:15:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/static.rb:63:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/static.rb:63:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/actionpack-3.2.14/lib/action_dispatch/middleware/static.rb:63:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/railties-3.2.14/lib/rails/engine.rb:484:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/railties-3.2.14/lib/rails/application.rb:231:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/content_length.rb:14:incall'
/Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/railties-3.2.14/lib/rails/rack/log_tailer.rb:17:in call' /Users/ghost/.rvm/gems/ruby-1.9.3-p448@aquariuscms/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:inservice'
/Users/ghost/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/webrick/httpserver.rb:138:in service' /Users/ghost/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/webrick/httpserver.rb:94:inrun'
/Users/ghost/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant