resolve/refinerycms — Issue #1074: Stack level too deep while creating page
Author: fedegl
Created: 2011-10-12 04:53:40+00:00
State: open

When trying to create a new page on the backend I get the following error:

SystemStackError in Refinery::Admin::PagesController#create

stack level too deep

activerecord (3.1.1) lib/active_record/attribute_methods/read.rb:84:in `browser_title'
seo_meta (1.2.0.rc2) lib/seo_meta.rb:48:in `__send__'
seo_meta (1.2.0.rc2) lib/seo_meta.rb:48:in `browser_title'
seo_meta (1.2.0.rc2) lib/seo_meta/instance_methods.rb:32:in `send'
seo_meta (1.2.0.rc2) lib/seo_meta/instance_methods.rb:32:in `seo_meta_attributes'
activesupport (3.1.1) lib/active_support/dependencies.rb:240:in `inject'
seo_meta (1.2.0.rc2) lib/seo_meta/instance_methods.rb:31:in `each'
seo_meta (1.2.0.rc2) lib/seo_meta/instance_methods.rb:31:in `inject'
seo_meta (1.2.0.rc2) lib/seo_meta/instance_methods.rb:31:in `seo_meta_attributes'
seo_meta (1.2.0.rc2) lib/seo_meta/instance_methods.rb:14:in `attributes_without_seo_meta'
seo_meta (1.2.0.rc2) lib/seo_meta/instance_methods.rb:14:in `attributes'
activerecord (3.1.1) lib/active_record/attribute_methods/dirty.rb:74:in `update'
activerecord (3.1.1) lib/active_record/timestamp.rb:64:in `update'
activerecord (3.1.1) lib/active_record/callbacks.rb:272:in `update'
activesupport (3.1.1) lib/active_support/callbacks.rb:390:in `_run_update_callbacks'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.1.1) lib/active_record/callbacks.rb:272:in `update'
activerecord (3.1.1) lib/active_record/persistence.rb:294:in `create_or_update'
activerecord (3.1.1) lib/active_record/callbacks.rb:264:in `create_or_update'
activesupport (3.1.1) lib/active_support/callbacks.rb:399:in `_run_save_callbacks'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.1.1) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.1.1) lib/active_record/persistence.rb:57:in `save!'
activerecord (3.1.1) lib/active_record/validations.rb:56:in `save!'
activerecord (3.1.1) lib/active_record/attribute_methods/dirty.rb:33:in `save!'
activerecord (3.1.1) lib/active_record/transactions.rb:246:in `save!'
activerecord (3.1.1) lib/active_record/transactions.rb:295:in `with_transaction_returning_status'
activerecord (3.1.1) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.1.1) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.1.1) lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
activerecord (3.1.1) lib/active_record/transactions.rb:246:in `save!'
globalize3 (0.2.0.beta4) lib/globalize/active_record/adapter.rb:43:in `save_translations!'
globalize3 (0.2.0.beta4) lib/globalize/active_record/adapter.rb:39:in `each'
globalize3 (0.2.0.beta4) lib/globalize/active_record/adapter.rb:39:in `save_translations!'
globalize3 (0.2.0.beta4) lib/globalize/active_record/instance_methods.rb:148:in `save_translations!'
activesupport (3.1.1) lib/active_support/callbacks.rb:415:in `_run_create_callbacks'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.1.1) lib/active_record/callbacks.rb:268:in `create'
activerecord (3.1.1) lib/active_record/persistence.rb:294:in `create_or_update'
activerecord (3.1.1) lib/active_record/callbacks.rb:264:in `create_or_update'
activesupport (3.1.1) lib/active_support/callbacks.rb:426:in `_run_save_callbacks'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.1.1) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.1.1) lib/active_record/persistence.rb:37:in `save'
activerecord (3.1.1) lib/active_record/validations.rb:50:in `save'
activerecord (3.1.1) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.1.1) lib/active_record/transactions.rb:241:in `save'
activerecord (3.1.1) lib/active_record/transactions.rb:295:in `with_transaction_returning_status'
activerecord (3.1.1) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.1.1) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.1.1) lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
activerecord (3.1.1) lib/active_record/transactions.rb:241:in `save'
activerecord (3.1.1) lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
activerecord (3.1.1) lib/active_record/transactions.rb:240:in `save'
activerecord (3.1.1) lib/active_record/base.rb:510:in `create'
(eval):21:in `create'
actionpack (3.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.1.1) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.1.1) lib/abstract_controller/callbacks.rb:18:in `process_action'
activesupport (3.1.1) lib/active_support/callbacks.rb:500:in `_run__76689068__process_action__1623385099__callbacks'
activesupport (3.1.1) lib/active_support/callbacks.rb:207:in `_conditional_callback_around_580'
activesupport (3.1.1) lib/active_support/callbacks.rb:318:in `around'
activesupport (3.1.1) lib/active_support/callbacks.rb:302:in `send'
activesupport (3.1.1) lib/active_support/callbacks.rb:302:in `_callback_around_553'
activesupport (3.1.1) lib/active_support/callbacks.rb:206:in `_conditional_callback_around_580'
activesupport (3.1.1) lib/active_support/callbacks.rb:488:in `_run__76689068__process_action__1623385099__callbacks'
activesupport (3.1.1) lib/active_support/callbacks.rb:386:in `send'
activesupport (3.1.1) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.1) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.1.1) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
activesupport (3.1.1) lib/active_support/notifications.rb:53:in `instrument'
activesupport (3.1.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.1.1) lib/active_support/notifications.rb:53:in `instrument'
actionpack (3.1.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.1.1) lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
activerecord (3.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.1.1) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.1.1) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.1.1) lib/action_controller/metal.rb:193:in `dispatch'
actionpack (3.1.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.1.1) lib/action_controller/metal.rb:236:in `action'
actionpack (3.1.1) lib/action_dispatch/routing/route_set.rb:65:in `call'
actionpack (3.1.1) lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
actionpack (3.1.1) lib/action_dispatch/routing/route_set.rb:29:in `call'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `call'
routing-filter (0.2.4) lib/routing_filter/adapters/rails_3.rb:74:in `recognize'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:141:in `call'
actionpack (3.1.1) lib/action_dispatch/routing/route_set.rb:532:in `call'
/Users/fede/.rvm/gems/ruby-1.8.7-p352/bundler/gems/omniauth-6a8cea54cd83/oa-core/lib/omniauth/strategy.rb:44:in `call!'
/Users/fede/.rvm/gems/ruby-1.8.7-p352/bundler/gems/omniauth-6a8cea54cd83/oa-core/lib/omniauth/strategy.rb:30:in `call'
/Users/fede/.rvm/gems/ruby-1.8.7-p352/bundler/gems/omniauth-6a8cea54cd83/oa-core/lib/omniauth/builder.rb:30:in `call'
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/rack.rb:27:in `call'
warden (1.0.6) lib/warden/manager.rb:35:in `call'
warden (1.0.6) lib/warden/manager.rb:34:in `catch'
warden (1.0.6) lib/warden/manager.rb:34:in `call'
client_side_validations (3.1.0) lib/client_side_validations/middleware.rb:18:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.3.4) lib/rack/etag.rb:23:in `call'
rack (1.3.4) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/flash.rb:243:in `call'
rack (1.3.4) lib/rack/session/abstract/id.rb:195:in `context'
rack (1.3.4) lib/rack/session/abstract/id.rb:190:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/cookies.rb:331:in `call'
activerecord (3.1.1) lib/active_record/query_cache.rb:62:in `call'
activerecord (3.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/callbacks.rb:29:in `call'
activesupport (3.1.1) lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `send'
activesupport (3.1.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.1) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/reloader.rb:68:in `call'
rack (1.3.4) lib/rack/sendfile.rb:101:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.1.1) lib/rails/rack/logger.rb:13:in `call'
rack (1.3.4) lib/rack/methodoverride.rb:24:in `call'
rack (1.3.4) lib/rack/runtime.rb:17:in `call'
dragonfly (0.9.8) lib/dragonfly/middleware.rb:13:in `call'
rack-cache (1.1) lib/rack/cache/context.rb:132:in `forward'
rack-cache (1.1) lib/rack/cache/context.rb:139:in `pass'
rack-cache (1.1) lib/rack/cache/context.rb:151:in `invalidate'
rack-cache (1.1) lib/rack/cache/context.rb:70:in `call!'
rack-cache (1.1) lib/rack/cache/context.rb:50:in `call'
dragonfly (0.9.8) lib/dragonfly/middleware.rb:13:in `call'
rack-cache (1.1) lib/rack/cache/context.rb:132:in `forward'
rack-cache (1.1) lib/rack/cache/context.rb:139:in `pass'
rack-cache (1.1) lib/rack/cache/context.rb:151:in `invalidate'
rack-cache (1.1) lib/rack/cache/context.rb:70:in `call!'
rack-cache (1.1) lib/rack/cache/context.rb:50:in `call'
rack (1.3.4) lib/rack/lock.rb:15:in `call'
dragonfly (0.9.8) lib/dragonfly/cookie_monster.rb:9:in `call'
actionpack (3.1.1) lib/action_dispatch/middleware/static.rb:53:in `call'
hoptoad_notifier (2.4.11) lib/hoptoad_notifier/user_informer.rb:12:in `call'
dragonfly (0.9.8) lib/dragonfly/middleware.rb:13:in `call'
rack-cache (1.1) lib/rack/cache/context.rb:132:in `forward'
rack-cache (1.1) lib/rack/cache/context.rb:139:in `pass'
rack-cache (1.1) lib/rack/cache/context.rb:151:in `invalidate'
rack-cache (1.1) lib/rack/cache/context.rb:70:in `call!'
rack-cache (1.1) lib/rack/cache/context.rb:50:in `call'
railties (3.1.1) lib/rails/engine.rb:456:in `call'
railties (3.1.1) lib/rails/railtie/configurable.rb:30:in `send'
railties (3.1.1) lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/fede/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:146:in `handle'
/Users/fede/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:99:in `start'
/Users/fede/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:86:in `each'
/Users/fede/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:86:in `start'
/Users/fede/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:66:in `loop'
/Users/fede/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:66:in `start'
/Users/fede/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/lib/nack/server.rb:13:in `run'
/Users/fede/Library/Application Support/Pow/Versions/0.3.1/node_modules/nack/bin/nack_worker:4

I noticed this problem only happens using the POW web server, with webrick it does create the page.