Skip to content

temp files not deleted in many exceptional cases #636

@binduwavell

Description

@binduwavell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions