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

Can't remove undeployed portlets from Content Pages

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: WCM, WCM > Page Editor
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Create a new content page
      2. Add a search bar or asset publisher widget, then Publish
      3. Go to Gogo Shell
      4. Stop Portal Search Web / Asset Publisher Web
      5. Go back to the created content page
      6. Observed: "This portlet has been undeployed. Please redeploy it or remove it from the page."
      7. Edit the page

      Expected result:
      Expected "undeployed" message to still be visible as well as the ability to remove this specific portlet placeholder.

      Actual Result:
      "Standard Page Editor | Portlet is temporarily unavailable."

      Following is seen in the console: javax.portlet.PortletException: org.apache.jasper.JasperException: java.lang.NullPointerException
      Full stacktrace can be found here. 

      Please note that there are some differences in results. For example, a blogs widget will display the correct message but there is no option to remove it, only configure it.

      Reproduced on:
      Tomcat 9.0.10 + MySQL 5.7.25
      Portal master GIT ID: 1213ea8bd366f4eac50ccf0d7e594ed75bf341f2

        Attachments

        1. Blogs screenshot.png
          Blogs screenshot.png
          58 kB
        2. Screenshot.png
          Screenshot.png
          28 kB
        3. video.mp4
          1.51 MB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                21 weeks, 3 days ago

                Packages

                Version Package
                Master