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

Uncaught exception when retrieving a BackgroundTask object with a taskContext field that cannot be deserialized

    Details

      Description

      Description
      When trying to fetch a BackgroundTask object using the BackgroundTaskPersistence, we will not catch the exception if JSONFactory.deserialize() throws an exception. This may not sound like an issue; however, the data inside the taskContext is guaranteed to be invalid during the upgrade, since UpgradeBackgroundTaskExecutorClassNames doesn't get run until the export-import-service module gets upgraded. So we should avoid having an uncaught exception in this circumstance.

      This issue is not testable by QA.

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP23
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master