Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-119795

Unable to delete translations of the web content

    Details

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            dereck.portela Dereck Portela
            Reporter:
            norbert.nemeth Norbert Németh
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 13 weeks, 3 days ago

                Packages

                Version Package
                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