Comment 4 for bug 793627

Revision history for this message
Bob Wicksall (bwicksall) wrote :

We are getting the same error on 2.2.1.

It is caused by missing hours of operation but not how you would expect. On my live and test system I can checkout odd numbers of items and the receipt will print. If I checkout an even number of items the system hangs trying to print the receipt.

I added the following to the template to debug:

[% USE Dumper(Indent=0, Pad="<br>") %]
[% Dumper.dump(target) %]

When I checkout an odd number of items I get the the full list of hours:

bless([
'20:00:00',
'09:00:00',
'20:00:00',
'09:00:00',
etc.

When I checkout an even number of items I get the following for the hours:

'20:00:00'

Just a single time is returned and no bless([ ]) wrapping it.