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

NullPointerException in BookmarksEntry validation during upgrading

    Details

      Description

      Steps to reproduce:

      1.) Start a 6.1.30 bundle
      2.) Control Panel --> Bookmarks
      2.) Create a bookmark folder, and inside of it, a bookmark
      3.) Shut down the portal, upgrade to 6.2

      Result: The VerifyBookmarks process fails with a NullPointerException

      This is because the BookmarksEntryIndexer is not yet registered during the Verify process hence it's value will be null.

      With LPS-48189 the following snippet was inserted to DLFileEntryLocalServiceImpl. setTreePaths() and JournalArticleLocalServiceImpl.setTreePaths(), but not to BokkmarksEntryLocalServiceImpl.setTreePaths()

      if (!reindex) {
          return;
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 36 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 Alpha 2