Closed (fixed)
Project:
Internationalization
Version:
7.x-1.9
Component:
Fields
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2013 at 13:56 UTC
Updated:
3 Oct 2013 at 18:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
jose reyero commentedOmg, we broke it again :-(
This is the issue I guess #1904368: [7.x-1.8 regression] Field translation fails in numerous situations
And this is the task for it not to happen again #2061999: Add tests for field translations to avoid regressions (i18n_field.test)
Comment #2
jose reyero commentedLooking better, this should be already fixed in latest dev, see #2061401: Use field label instead of the "On value" as label not working after update from 1.8
Comment #3
Sk8erPeter commentedI just switched to 1.10 from 1.9, because I had the same problem. The anomaly has really been fixed on the EDIT FORMS (see before, with 1.9: http://i.imgur.com/R5No8hw.png, and after, with 1.10: http://i.imgur.com/MSMcAzl.png), BUT when viewing the result, the '#markup' key is empty, which results in an empty field. Here is an example with the default 1 (On) and 0 (Off) values:
Is it related to i18n updates? I tried it with two Drupals, with more themes, and I experienced the same anomaly when viewing the content. It may be related to other contrib modules too (in this case, I'm sorry for reopening the issue), but I would be grateful if you could check whether it can be caused by i18n. Thanks in advance!
Comment #4
reptilex commentedIt is now corrected in 1.10.
Comment #5
Sk8erPeter commentedHave you tested it? :)
Because no, this is not fixed - BUT as I found out, this is not related to i18n, it's related to the core.
This is a screenshot of a brand new Drupal 7.23 standard install, with Bartik enabled, one simple content type, values set to default, "Use field label instead of the "On value" as label" checked; "
1" should appear (as a string), but no value gets printed:===================================================================
EDIT - Related topic in Drupal core's issue queue
There's already an open topic in the core's issue queue here: #1750950: Boolean fields are invisible if no 'On/Off value' is set.
Comment #6.0
(not verified) commentedenglish correction