-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.1.10 DXP FP20, 7.1.10.5 SP5, 7.1.X, 7.2.10 DXP FP9, 7.2.X, 7.3.5 CE GA6, 7.3.10 DXP GA1, Master
-
Component/s: Dynamic Data Mapping, Web Content > Web Content Administration
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Sprint:Data_Engine_7.3_32
-
Git Pull Request:
Reproduction Steps:
1. Set up a vanilla 7.1.x/7.2.x/7.3.x
2. Go to Control Panel --> Configuration --> System Settings --> Web Content and select "Administration" then find the option "Changeable Default Language" and check the box to activate it.
3. Go to Control Panel --> Configuration --> Instance Settings --> Miscellaneous and make sure that the English Language is the default language.
4. Under the Liferay Site (or any site) go to Content Panel --> Web content and add a Basic Web Content. However, change the Default Language on the top, for example, fr_FR and add the title and content then Publish.
Checkpoint: Check Journalarticle in the database and at the "Content" section you should see something like:
'<?xml version="1.0"?> <root available-locales="fr_FR,en_US" default-locale="fr_FR"> <dynamic-element name="content" type="text_area" index-type="text" instance-id="ccun"> <dynamic-content language-id="fr_FR"><![CDATA[<p>French Test</p>]]></dynamic-content> <dynamic-content language-id="en_US"><![CDATA[]]></dynamic-content> </dynamic-element> </root>'
In order to delete the US English translation that should not appear, do the following steps:
a. Click on the 3 dots beside the Web Content and select "Delete Translations"
b. A popup window opens with the translations. Check the English translation to delete and try to delete it.
Actual Result: The request fails with the error:
Your request failed to complete.
Expected Result: The translation should be successfully deleted with no issues or the empty translation should not be created