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

Web Content translations are not removed from the database after deleting from the UI

    Details

      Description

      Steps to Reproduce:

      1. Start a bundle connect to an external database (just not hypersonic)
      2. Navigate to Control Panel > Content > Web Content
      3. Click on the + icon and select Basic Web Content
      4. Make the title and content "Test WC"
      5. Click on Add Translation
      6. Select Spanish
      7. Change the title to Spanish Test WC
      8. Publish the web content
      9. Check the journalarticle table in the database "SELECT version,title FROM dxp.journalarticle;"
      10. Notice that the web content has multiple locales listed for the available locales
      11. Edit the web content
      12. Click X next to the Spanish translation to remove it
      13. Publish the article again
      14. Check the journalarticle table in the database again

      Expected Result: A new version of the article would be created without the es locale present
      Actual Result: A new version of the article is created and the es locale is still available

      BRANCH
      Reproduced
      9fb91fcd8afc186172652024997a42fee6fd6787

      MASTER
      Not reproduced (added journalarticle entry only shows en_US locale)
      8f5728b4f87379dccf272dd07d98198ed3fff004

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 18 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP16
                  7.0.3 CE GA4
                  7.0.0 DXP SP4
                  7.0.X EE
                  Master