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

Knowledge base display portlet goes blank when choosing empty folder with only drafts

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.X, 7.1.X, Master
    • Fix Version/s: Master
    • Component/s: Knowledge Base
    • Labels:

      Description

      Steps to reproduce

      1. Sign in as a portal administrator
      2. Navigate to Content & Data > Knowledge Base
      3. Add a new Knowledge Base article to the home folder (Article 0)
      4. Add a new Knowledge Base folder (Folder 1)
      5. Add a new Knowledge Base article to Folder 1, but use "Save as Draft" instead of "Publish" (Article 1)
      6. Add a Knowledge Base display portlet to a page
      7. Observe that Folder 1 is available in the dropdown select menu
      8. Select Folder 1 from the dropdown select menu

      Expected results: Folder without approved articles do not display in the dropdown. If there are no folders with approved articles, dropdown does not display.
      Actual results: Dropdown displays, and the folder with ONLY a draft article is an option. Clicking on it results to blank KB display widget.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                10 weeks, 1 day ago

                Packages

                Version Package
                Master