Currently, when setting the wrapper's language to LANGUAGE_NONE and fetching a translatable field's value, if the field has value in language-none but doesn't have one in the default language, the empty default language value will be returned.
It happens, for instance, when the content was created before Locale was enabled.
I suggest the attached fix for this case.
|#5||entity-translatable_fields_not_overriding_und_with_empty_values-1782134-5.patch||837 bytes||Devin Carlson|
|PASSED: [[SimpleTest]]: [MySQL] 374 pass(es). |
[ View ]