spree / deployment_service_puppet

BSD 3-Clause "New" or "Revised" License
8 stars 6 forks source link

Broken Custom Checkout Step With Bluepill Rolling Restart #21

Open iloveitaly opened 10 years ago

iloveitaly commented 10 years ago

I have a custom checkout step:

# order_decorator.rb
Spree::Order.class_eval do
  insert_checkout_step :company, :before => :address
end

# _company.html.erb
<%= button_tag "Go to next step", :type => "submit", :class => 'btn btn-success' %>

Works fine in development. Works fine in production, until a sudo bluepill restart is run. After a restart is run the site continues to load fine but I can't advance past this custom checkout step.

I'm stumped on this one: not sure what could be causing the issue. I messed around with spree.pill with no luck. Has anyone encountered this problem?

Some posts I found while trying to solve the issue: