-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2021
-
Component/s: Convert
-
Release Notes Summary:Command line conversion temporary files are now deleted correctly.
-
Tags:
-
Backlog priority:700
-
Upgrade notes:
-
Sprint:nxplatform #99, nxplatform #100
-
Story Points:5
I have identified several scenarios which lead to temp files not being deleted, even after several hours and forcing full GC
Scenario 1
- Upload a PDF file
- Nuxeo triggers the pdftotext conversion because of the FulltextExtractor
- The file $TMP_DIR/clc-pdftotext-xxx/zzzz.tmp is never deleted
Scenario 2
- Upload a .docx file
- On the Summary view, Nuxeo convert the file to PDF
- The file $TMP_DIR/clc-soffice-xxx/nxblob-zzz.pdf is never deleted
Note that another scenario immediately deletes the temp file : the thumbnail computation for a .docx file call the "soffice" converter but at the end of the work, the folder $TMP_DIR/clc-soffice-xxx/ does not contain the nxblob-zzz.png file
Expected behavior: all temp files should be deleted (ideally with the mechanism similar to the thumbnail ?)
PS: the code does a Framework#trackFile on these files, but maybe the pointeor is never released ...
- causes
-
NXP-32303 FileNotFoundException in command line conversions
- Resolved