stephenmcd/cartridge — pull request #25 by DamianHeard (2012-05-05 12:32:41+00:00)
Title: Issue #24: Exception handling in Sale.save().

Stephen,

As it turns out this issue was only relevant when using MySQL with DEBUG=True. The DEBUG=True is important to replicate the problem because without it Warning exceptions will not be thrown, rather they will just be logged.

Interestingly I was unaware of the DEBUG element to this problem until I tried to port my test to a 'vanilla' cartridge checkout (where I had DEBUG=False). It took me some time to work out why I couldn't replicate the buggy behaviour I expected!

Cheers,
Damian