Issue 141: checkout uses the wrong layout when a user submits a checkout and it errs
Status:  Fixed
Owner: ----
Closed:  Jan 2009
Reported by rogerpack2005, Oct 16, 2008
What steps will reproduce the problem?
1. change layouts/main.rhtml to display visibly one thing, and
layouts/checkout.rhtml to distinctively display another
2. do a checkout with a poor email

What is the expected output? What do you see instead?
It should redirect you to checkout with the checkout layout

instead it uses the main layout


What version of the product are you using? On what operating system?
SVN TRUNK [1.0a6]

patch
Thanks!
layout_fix.diff
704 bytes   View   Download
Jan 24, 2009
Project Member #1 subim...@gmail.com
Fixed r170

Thanks for the patch. I've applied it, but please next time include a proper patch
(with tests) as outlined here:

https://code.google.com/p/substruct/wiki/ContributingToSubstruct

All tests should pass when you run "rake test:plugins:all PLUGIN=substruct"

It takes longer for me to apply these things if I have to write test code and verify
myself that things work as they should.
Status: Fixed