-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE RC1
-
Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
-
Labels:None
-
Environment:Tomcat 7.0.23 + MySQL 5. 6.1.x Revision: 95322.
-
Epic/Theme:
-
Fix Priority:5
1.) Add a WC structure with the following schema:
<root>
<dynamic-element name="text" type="text" index-type="" repeatable="false"/>
<dynamic-element name="textbox" type="text_box" index-type="" repeatable="false"/>
<dynamic-element name="textarea" type="text_area" index-type="" repeatable="false"/>
</root>
2.) Add a WC template with the following script:
<p>$text.getData()</p>
<p>$textbox.getData()</p>
<p>$textarea.getData()</p>
3.) Add a WC entry using the above structure/template
4.) Type "American English" into each field
5.) Flag "Localizable" under each field
6.) Publish
7.) Edit the entry
8.) Click [Add a Translation] >> [English (United Kingdom)]
9.) Type "British English" into each field in the translation window
10.) Click [Change] under default language
11.) Select [English (United Kingdom)]
*The entry fields should now all be populated with "British English"
**Clicking on [Available Translations: English (United States)] at this point will show the correct translation containing fields populated with the text "American English"
12.) Click Publish
13.) Edit the entry again
14.) Click [Available Translations: English (United States)] to open the translation
*The translation will now contain fields populated with the text "British English"
Strangely, this will not work if the languages are switched, or if the default "Basic Web Content" structure is used. I've also tested this with American English and Japanese, with the same results.