paxxxtothemax / substruct

Automatically exported from code.google.com/p/substruct
0 stars 0 forks source link

checkout uses the wrong layout when a user submits a checkout and it errs #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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!

Original issue reported on code.google.com by rogerpack2005 on 16 Oct 2008 at 11:14

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed r170

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

http://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.

Original comment by subim...@gmail.com on 25 Jan 2009 at 6:47