Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Fix for #21760-A local packaged file is deleted when deploying from t…
Browse files Browse the repository at this point in the history
…he web console (#21827)
  • Loading branch information
srinivaskrishnan authored and yaminikb committed Jun 19, 2017
1 parent 9176506 commit bf45e6d
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@
propertyList="$attribute{newList}"
targets = "#{pageSession.selectedTargets}"
);
deleteFileFromTempDir(deleteTempFile="$attribute{filePath}");
gf.redirect(page="#{request.contextPath}/common/removeFrame.jsf?#{pageSession.listPageLink}&#{extraArgs}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}&bare=true");
if( ${needUpload}) {
gf.logger(logString="Deleting the file uploaded to Temp Directory", level="INFO");
deleteFileFromTempDir(deleteTempFile="$attribute{filePath}");
}
gf.redirect(page="#{request.contextPath}/common/removeFrame.jsf?#{pageSession.listPageLink}&#{extraArgs}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}&bare=true");
/>
</sun:button>

Expand Down

0 comments on commit bf45e6d

Please sign in to comment.