Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temp files not deleted in many exceptional cases #636

Open
binduwavell opened this issue Jun 14, 2022 · 0 comments
Open

temp files not deleted in many exceptional cases #636

binduwavell opened this issue Jun 14, 2022 · 0 comments

Comments

@binduwavell
Copy link

In Alfresco there is a temp file provider that cleans up temp files that have not been cleaned properly within 24h. No such system exists in this project.

In

a temp file is created to hold the transform results/target. Similarly a source file is produced near the top of this transform() method.

If any of the exceptional conditions happen that result in the following lines of code: 364, 373, 389, 398, 407 executing, the transform method returns without a finally and leave the source and target files on disk and they are NEVER cleaned up.

The transform implementation that starts on line 165 (handles REST calls) doesn't appear to clean up temp files ever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant