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

Wiki - Browsing new or edited Wiki page generates null pointer exception

    Details

    • Fix Priority:
      3

      Description

      Editing an empty wiki frontpage or viewing a newly created page generated a NPE in console. Functionality in portal still seems to work, but the error is generated each time the wiki article is accessed.

      Steps to Reproduce:

      1. Navigate to Admin > Content > Wiki Admin
      2. Enter a wiki node, or add a Wiki Node
      3. Click Add Page
      4. Enter content on the apge
      5. Publish the page
      6. Open the page

      Expected Result:
      Page displays without error message.

      Actual Result:
      Page displays and a null pointer exception is generated.

      If you edit existing Wiki front page, and then open the frontpage or refresh, it generates the NPE: https://gist.github.com/simonkpark/b0361f9787b84c3b2891

      Open a newly created page it will cerated it when opening page again from portal: https://gist.github.com/simonkpark/e04377a62b5794173981

      If you refresh that page another error generates: https://gist.github.com/simonkpark/624fb6ae07dd538d147e

      This is causing several automated tests to be unstable.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 20 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 M6