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

      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

        1. FIXED - LPS-94613.gif
          252 kB
          Patricia Perez
        2. knowledge-base-on-71GA3.gif
          2.50 MB
          Louis Zhang
        3. LPS-94613.png
          88 kB
          Patricia Perez

          Activity

            People

            Assignee:
            patricia.perez Patricia Perez
            Reporter:
            minhchau.dang Minhchau Dang
            Participants of an Issue:
            Recent user:
            Patricia Perez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 1 week ago

                Packages

                Version Package
                Master