Uploaded image for project: 'Talend DI components'
  1. Talend DI components
  2. TDI-46743

tFileDelete cannot delete xlsx file which is generated by tFileOutputExcel when enable Streaming append and protect and multiple sheets

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    Description

      Reproduce this issue after https://jira.talendforge.org/browse/TDI-45468

      Use streaming append && Protect use password && generate mutipe sheets

      Then delete xlsx file use tFileDelete´╝îdelete will fail.

      This only happens in Windows, no problem for Mac and Linux.

      Attach the reproduce job.

      Exception in component tFileDelete_2 (tFileOutputExcel_StreamingAppend_Password_Sheets_DeleteFail)Exception in component tFileDelete_2 (tFileOutputExcel_StreamingAppend_Password_Sheets_DeleteFail)java.lang.RuntimeException: File D:\Talend\work\Master\testcase\output\tFileOutputExcel_StreamingAppend_Password_Sheets_DeleteFail\out.xlsx can not be deleted. at local_project.tfileoutputexcel_streamingappend_password_sheets_deletefail_0_1.tFileOutputExcel_StreamingAppend_Password_Sheets_DeleteFail.tFileDelete_2Process(tFileOutputExcel_StreamingAppend_Password_Sheets_DeleteFail.java:638)

      Attachments

        Activity

          People

            pteyssier pierre teyssier
            xjliu Xuejing Liu
            Dmytro Grygorenko (Inactive), Xuejing Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days
                3d