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

Updating last publish date creates incorrect portlet preferences

Details

    Description

      1. Start up portal and turn on local staging for the default site
      2. After the initial publication is complete, query the Portletpreferences table from the database

      Result: There will be a few portlet preferences that have ownertype as 3 (layout) but have 0 as plid. These type of preferences should not exist. This is causing issues e.g. when executing 2 staging publications for separate sites in parallel, because both of them would want to read/write these preferences.

      The cause of the issue is that even though the affected portlet preferences are queried as strict portlet preferences (which means they should not be created in the database if they are not found), the process of updating the last publish date calls their store() procedure later, which adds them to the database with incorrect parameters after all.

      Attachments

        Issue Links

          Activity

            People

              gergely.mathe Gergely Mathe (Inactive)
              gergely.mathe Gergely Mathe (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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

                Packages

                  Version Package
                  7.0.0 Alpha 4