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

Adding and Removing Site From Scope of Asset Publisher Does Not Update "ClassTypeIds" in PortletPreferences

Details

    Description

      Steps to Reproduce:

      1) Start with a clean or existing instance of LR, with a clean or populated DB.
      2) Have the changes from LPS-53643 be properly added to your code base.
      3) Have an existing Asset Publisher which was suffering from the issue in LPS-53643. If your DB does not have this, follow steps 3a - 3f
      3a) Create a new site called Unrelated Site with a structure and corresponding template
      3b) Add an Asset Publisher to any site page aside from the one we just created
      3c) In this AP's configuration, add the Unrelated site to scope.
      3d) Click "Save" even if the page says it already did so.
      3e) Remove the Unrelated site from scope.
      3f) Click "Save" even if the page says it already did so. At this point your AP's configuration page should look unmodified - no changes from the new instance of the AP.
      4) Export the page.
      5) (to save some time rather than importing) Open the LAR file you just exported.
      6) View "Manifest.xml"
      7) Notice "Unrelated Structure" on the missing-references section. (This will make the import fail)

      In essence, we are attempting to export assets which are not a part of the scope, so the original issue from LPS-53643 persists.

      Reproduced in 6.2.x
      39feb3c8fccf21061436feb01e508712d0291698
      Not reproducible in Master
      8f695e50542d8073b8298f2a97928ae873f877c2

      Attachments

        Issue Links

          Activity

            People

              lu.liu Lu Liu
              christopher.kian Christopher Kian
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 41 weeks, 6 days ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE