You can test this on the 2.x Livetest... preview the Ubercart Beanie. It results in the following error:
Fatal error: Cannot use string offset as an array in /var/www/html/uc2/sites/all/modules/ubercart/uc_product/uc_product.module on line 1424
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | preview_images.patch | 628 bytes | Island Usurper |
Comments
Comment #1
Island Usurper commentedHere's a patch to fix the symptom. I think the real solution is that uc_product should make an Imagefield formatter to use here for the thumbnails and such.
Comment #2
rszrama commentedCommitted. Addresses the issue but turned up #394920: Product preview shows add to cart form without attributes.
Comment #3
rszrama commentedComment #5
binhcan commentedThanks Island Usurper,
the product preview is working now after I applied your patch.
Regards,
Binh
My functional multilingual drupal sites:
Classical Chinese Furniture
古典家私