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

Assets in trash causing null pointer exeption in AssetPublisher

Details

    Description

      Reproduction Steps:

      0. Please use a vanilla bundle with fix pack portal-131.
      1. Create a Basic Web Content (let the title be "Test Web Content").
      2. Add an Asset Publisher portlet to the welcome page.
      3. Configure the Asset Publisher portlet: Select "Asset Selection" "manual". in "Asset Entries" select "Web Content Article" and select "Test Web Content".
      4. Save configuration.
      5. Notice that the selected "Test Web Content" is in the list.
      6. In the control panel drag and drop "Test Web Content" to trash.
      7. Notice that the selected "Test Web Content" disappeared from the asset publisher.
      8. Try portlet Configuration.

      Result:You should notice the NPE in the server log and will have a truncated section on the configuration page for "Asset Entries" (no selection, no current selection data).

      also tested:

      6.2x @ commit (e7d080416c7dfdfb7af181514d7a91953a5404b3) reproduced

      master @ commit (9eac638fb06f623f53e418925de89e0ad9991281) reproduced

      Attachments

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              rimi.saadou Rimi Saadou (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 19 weeks ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP SP2
                  7.0.0 DXP FP13
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master