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

Export/Import is incomplete when Asset Publisher is configured to use a preloaded ADT

    Details

      Description

      1. Place an Asset Publisher on a page in a site (not Global)
      2. Configure it to use the Global ADT "Rich Summary"
      3. Export the site in a LAR
      4. Start a new portal instance with a vanilla database
      5. Import the previously created LAR in a site
      6. Check the Asset Publisher configuration

      Result: The portlet lost it's association with the "Rich Summary" ADT. If you check the AP portlet's preferences in the database, the displayStyle preference still has the UUID of the ADT from the source portal.

      The issue is very similar to LPS-70048. Since we don't find the preloaded object by it's UUID, we should search for it by it's template key also. Now this logic is already implemented for ADT's, but then it only updates the displayStyleGroupId preference, and leaves displayStyle untouched.

      Master is not affected, because it uses the template key instead of the UUID in the portlet's preferences, but that logic is part of the new generic template selector JSP tag, so it can't be backported to ee-6.2.x.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              gergely.mathe Gergely Mathe (Inactive)
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 22 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.X EE