Download & Extend

Images are not shown in the imagefield when editing the product variation

Project:Commerce Kickstart
Version:7.x-2.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The images are shown in the table nicely, but after clicking edit, the imagefield contains no images.

This can be seen in:
http://drupal.org/files/Screen%20Shot%202013-01-22%20at%2011.12.04%20AM.png

The reason for this is that IEF is now calling the field attach form with the proper language code.
However, the demo store products have no language code assigned ($product->language) is empty, which confuses the language fallback.
The solution is to set LANGUAGE_NONE as the language to each product during product creation.

Comments

#1

Status:active» fixed

Fixed by https://code.drupalcommerce.org/#/c/614/ in both demo store and no demo store.

The fix is only effective for new installations.
Old installations can fix the problem by running "UPDATE commerce_product SET language = 'und'" (or loading all products, setting $product->language to LANGUAGE_NONE, then saving).

#2

Status:fixed» closed (fixed)

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

nobody click here