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

Deleting an article or folder used by a KB Display portlet renders it unusable

Details

    Description

      Deleting an article or folder referenced by a KB Display portlet makes the portlet no longer usable.

      Steps to reproduce:

      • Make sure the 'knowledge-base-portlet' plugin is deployed.
      • Go to Admin > Content > Knowledge Base
      • Add an article.
      • Go to any page in the portal
      • Put a "Knowledge Base Display" portlet in the page
      • Configure it to show the article created in the previous step
      • Assert the article shows correctly.
      • Go to Admin > Content > Knowledge Base
      • Delete the article
      • Go to the page where the Knowledge Base is located
      • Assert that an error message is shown
      • Try to configure the portlet to select another article
      • Assert that an error message is shown

      Expected result:
      The portlet should show a message telling the user to configure the portlet. No error should occur if the user tries to reconfigure the portlet.

      Attachments

        Activity

          People

            yvonne.han Yvonne Han
            adolfo.perez Adolfo Pérez
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 8 weeks, 2 days ago

              Packages

                Version Package
                6.2.X EE
                7.0.0 M2