Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2011 at 12:55 UTC
Updated:
16 Nov 2011 at 18:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
mandreato commentedI cannot reproduce it locally after full backup, probably because I'm on a Windows box with IE/Chrome/FF, while the problem in production comes from a user using Safari on Macintosh.
Comment #2
mandreato commentedI finally replicated the error also on the development environment by using Chrome.
It seems that line 366 of uc_cart.pages.inc should be corrected to:
because uc_referer_check expects an array.
Attached a patch (flush the cache after code fix).
Hope This Helps.
Comment #3
longwaveCommitted, thanks.
Comment #4
jamesoakleySee #1329266: Error when reviewing checkout: Array expected but string given.
I've applied this patch to my site. I managed to patch it (using SSH), but should it concern us that SimpleTest spat it out?
Comment #5
tr commentedThe patch was properly rejected by the testbot because of its DOS-style line endings. Those don't affect the functioning of the patch, they just violate the Drupal coding standards.
However, longwave kindly fixed up this patch before it was committed. Don't count on that happening for anything other than a trivial patch like this... In general you should work to get the testbot to approve your patch before you expect others to review it.