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

CommentFileSizeAuthor
#1 preview_images.patch628 bytesIsland Usurper

Comments

Island Usurper’s picture

Status: Active » Needs review
StatusFileSize
new628 bytes

Here'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.

rszrama’s picture

Status: Needs review » Fixed

Committed. Addresses the issue but turned up #394920: Product preview shows add to cart form without attributes.

rszrama’s picture

Issue tags: +dc2009 code sprint

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

binhcan’s picture

Thanks Island Usurper,

the product preview is working now after I applied your patch.

Regards,
Binh
My functional multilingual drupal sites:
Classical Chinese Furniture
古典家私