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

JournalArticleLocalization isn't correctly populated when coming from 6.0

    Details

      Description

      Web contents in 6.0 where created without title field internationalized. It wasn't until LPS-5906 that we changed this behavior, but if the record wasn't created with the field internationalized we're not updating it.

      Meanwhile in
      Meanwhile in UpgradeJournalArticleLocalizedValues.updateJournalArticleLocalizedFields() we aren't considering the article's default language when retrieving the localized fields if the original field was in plain text.

       

      Steps to Reproduce:

      1. In 6.0 create a web content with Spanish as default language, its content translated and with any title.
      2. Perform an upgrade to master/7.1 (upgrade first to 6.2 and then to 7.1/master)

      Expected Result:
      There should be an entry in JournalArticleLocalization with Spanish as language.

      Actual Result:
      There is no entry in JournalArticleLocalization with Spanish as language.

        Attachments

          Activity

            People

            • Assignee:
              summer.zhang Summer Zhang
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                33 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP9
                7.1.10.2 SP2
                7.1.3 CE GA4
                7.1.X
                Master