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

Deleting translations can fail depending on draft and approved history

Details

    Description

      Reproducing Steps

      Situation 1

      1. Create a new site with more than one language available.
      2. Add a new basic web content. In the creation view:
        1. Add title and content in default language (e.g. en_US).
        2. Publish.
      3. Edit the web content again.
        1. Add title and content in a second language (e.g. ca_ES).
        2. Save as draft.
      4. Go back to the list of web contents.
      5. Click on the 3-point menu for the created web content and then on Delete Translations...
      6. Select the second language (ca_ES) and click on Delete.

      Expected: The second language translation is deleted and only the default language translation remains.
      Observed: There's an error message "Error:Your request failed to complete." and the second language translation remains.

      Situation 2

      1. Create a new site with more than one language available.
      2. Add a new basic web content. In the creation view:
        1. Add title and content in default language (e.g. en_US).
        2. Add title and content in a second language (e.g. ca_ES).
        3. Publish.
      3. Edit the web content again.
        1. Edit the title in the second language (e.g. ca_ES).
        2. Save as draft.
      4. Go back to the list of web contents.
      5. Click on the 3-point menu for the created web content and then on Delete Translations...
      6. Select the second language (ca_ES) and click on Delete.

      Expected: The second language translation is deleted and only the default language translation remains.
      Observed: There's no error message but the edit change in the second language remains.

      Notes:

      1. In situation 1 the translation of the latest approved version tries to get deleted, but in that version the translation didn't exist yet, thus the error.
      2. In situation 2 what gets deleted is the translation of the first published version, not the latest draft version, but that needs to be check in the database.

      Attachments

        Activity

          People

            yang.cao Yang Cao
            ricardo.couso Ricardo Couso
            Kiyoshi Lee Kiyoshi Lee
            Ricardo Couso Ricardo Couso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 7 weeks ago

              Packages

                Version Package
                7.2.10 DXP FP8
                7.2.10.3 DXP SP3
                7.2.X
                7.3.5 CE GA6
                7.3.10 DXP GA1
                Master