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

Widget page template does not survive after an upgrade 6.2 > 7.2

    Description

    Steps to reproduce:

    1. Start Liferay 6.2
    2. Create a page template from Admin > Control Panel > Page Templates
    3. Edit page template to have widgets and save
    4. Close the portal, upgrade, and start master portal
    5. Go to Build > Pages > Page Templates

    Expected result:

    Page template exists

    Actual result:

    Page template does not exist and there is an error in the console log 

     2019-03-12 20:46:54.836 ERROR [liferay/background_task-2][ReindexSingleIndexerBackgroundTaskExecutor:84] java.lang.NullPointerException
    java.lang.NullPointerException
    	at com.liferay.portal.search.internal.indexer.IndexerWriterImpl.getBatchIndexingActionable(IndexerWriterImpl.java:106)
    	at com.liferay.portal.search.internal.indexer.IndexerWriterImpl.reindex(IndexerWriterImpl.java:188)
    	at com.liferay.portal.search.internal.indexer.DefaultIndexer.reindex(DefaultIndexer.java:289)
    	at com.liferay.portal.search.internal.background.task.ReindexSingleIndexerBackgroundTaskExecutor.reindex(ReindexSingleIndexerBackgroundTaskExecutor.java:81)
    	at com.liferay.portal.search.internal.background.task.ReindexBackgroundTaskExecutor.execute(ReindexBackgroundTaskExecutor.java:54)
    	at com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:62)
    	at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:43)
    	at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:75)
    	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:132)
    	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
    	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
    	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
    	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
    	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
    	at java.lang.Thread.run(Thread.java:748)
    

    Reproduced on:

    Tomcat 9.0.10 + MySQL 5.7.

    Portal Master GIT Commit: 0206d0a0d459031639e0de44707e56ac665d5e00

      Attachments

        Activity

          People

          Assignee:
          brooke.dalton Brooke Dalton
          Reporter:
          brooke.dalton Brooke Dalton
          Participants of an Issue:
          Recent user:
          Marta Elicegui
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:
            Days since last comment:
            2 years, 32 weeks, 2 days ago

              Packages

              Version Package