spree/spree — Issue #1119: product.new from admin panel: stack level too deep
Author: priviterag
Created: 2012-02-08 10:48:21+00:00
State: open

spree edge (1.0.0.rc3)
rails 3.1.3
ruby 1.9.2p290
sample DB

when I try to create a new product from the admin panel I get this error:

Rendered /home/peppe/.rvm/gems/ruby-1.9.2-p290@rails313/bundler/gems/spree-b62a1b9c6825/core/app/views/spree/admin/products/new.js.erb (14491.0ms)
Completed 500 Internal Server Error in 14657ms

ActionView::Template::Error (stack level too deep):

Rendered /home/peppe/.rvm/gems/ruby-1.9.2-p290@rails313/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
Rendered /home/peppe/.rvm/gems/ruby-1.9.2-p290@rails313/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/peppe/.rvm/gems/ruby-1.9.2-p290@rails313/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.7ms)