product_commerce schema declares 'language' field, while commerce_product entity info doesn't.
This leads bad things to happen, like described in this issue: #1463898: Action to initialize the content of a field properly
(The author tells about his problem with nodes, while I can confirm this for commerce_products).
For example if a commerce_product entity is created inside Rules, there is no way to set language value which results to EMPTY value for language field in the DB.

To fix this I simply added appropriate declaration in commerce_product.info.inc

CommentFileSizeAuthor
#2 add_language.patch908 bytesOnkelTem
add_language.patch917 bytesOnkelTem

Comments

Status: Needs review » Needs work

The last submitted patch, add_language.patch, failed testing.

OnkelTem’s picture

Status: Needs work » Needs review
StatusFileSize
new908 bytes

Fixing line ends. (I wonder how this had happened, looks like 'meld' program is in charge for that)

rszrama’s picture

Status: Needs review » Fixed

Thanks for digging this up! Just committed. : )

Status: Fixed » Closed (fixed)

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