-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, 7.3.X, Master
-
Fix Version/s: 7.0.X, 7.1.10 DXP FP26, 7.1.10.7 SP7, 7.1.X, 7.2.10 DXP FP15, 7.2.X, 7.3.10.3 DXP SP3, 7.3.X, 7.4.2 CE GA3, 7.4.13 DXP GA1, 7.4.3.4 CE GA4, Master
-
Component/s: CKEditor
-
Branch Version/s:7.3.x, 7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Description: If in a web content there is no value for default language then it will take the one existing from portal language display, this when changing the portal display language by adding to the URL for example /es/ to change to Spanish ().
Steps:
- Be sure you use CKEditor by adding these two props in your portal-ext.properties:
editor.wysiwyg.default=ckeditor
editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor - Go to Content & Data -> Web content -> Create a new Basic Web Content
- Give a title "Title web content (en)" and not text in the default language
- Select Spanish language and give a text, for example "text (es)"
- Publish and open again the web content created at step 1
- On the URL add /es/ in front of, in order to change the language to Spanish
Actual: The default language (en) value is now set up with the value from Spanish language text "text (es)" but it should be empty, same happens for other languages
Expected: The default language (en) value should stay empty if we change the portal display language by adding /es/ (or another language) to the URL
Note: Not sure with the same code I'm not able to reproduce on master, but on 7.2.x branch yes.