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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add_language.patch | 908 bytes | OnkelTem |
| add_language.patch | 917 bytes | OnkelTem |
Comments
Comment #2
OnkelTem commentedFixing line ends. (I wonder how this had happened, looks like 'meld' program is in charge for that)
Comment #3
rszrama commentedThanks for digging this up! Just committed. : )