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

Investigate portletPreferences.getPlid() calls when page versioning is turned on.

    Details

    • Spike Type:
      Technical
    • Sprint:
      StagingIter18 - Pom pom, StagingIter19 - Babi néni, StagingIter20 - Gumimacik, StagingIter21 - Macskafogó, StagingIter22 - Dillinger prof

      Description

      When page versioning is turned on, instead of the plid, the revisionId is stored in the PortletPreferences table.

      This way PortletPreferences.getPlid() calls will result in a revisionId instead of the plid.
      The related logic will fail if it expects a plid.

      Possible reproduction steps:

      1. Turn on Page Versioning.
      2. Create a Web content and put it to a Page via Web Content Display portlet.
      3. Checkpoint: The JournalContentSearch table has an entry - showing that the page has the Web Content on it
      4. Under System Settings -> Web Content -> Enable "
        Synchronize Content Search on Startup"
      5. Restart the portal

      Result:
      JournalContentSearch table is empty

      Expected:
      JournalContentSearch table still contains the entry

        Attachments

          Activity

            People

            Assignee:
            zsigmond.rab Zsigmond Rab
            Reporter:
            tamas.molnar Tamas Molnar
            Engineering Assignee:
            SE Support
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package