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

"Disable deletion of temporary LAR in case of staging errors" functionality (added at LPS-53879) is missing at PortletStagingBackgroundTaskExecutor and LayoutRemoteStagingBackgroundTaskExecutor

    Details

      Description

      The functionality added at LPS-53879, ability to "Disable deletion of temporary LAR in case of staging errors" is missing at PortletStagingBackgroundTaskExecutor and LayoutRemoteStagingBackgroundTaskExecutor.

      So this functionality is only working for Local Layout Staging, not for Portlet Staging nor Remote Layout Staging

      This issue only applies at 6.2.x, as some code reorganization at master added this functionality to portlet level.

      At PortletStagingBackgroundTaskExecutor there is other related issue: if LAR file is not created and larFile variable is null, at finally

      { larFile.delete(); }

      block a NullPointerException is thrown.
      This issue will be removed after applying LPS-53879 code to this finally block

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                jorge.diaz Jorge Diaz
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE