Skip to content

Not all staging files are cleaned up when a submission is cancelled #8534

@jennifer-richards

Description

@jennifer-richards

Describe the issue

When a submission is cancelled, it is intended that all of its artifacts will be removed. This is not done correctly now. The code in ietf.submit.utils.remove_staging_files() is called with the list of extensions in submission.file_types and only these files are removed. However, this list only includes files that the submitter uploaded - any files generated by datatracker are left over. This often includes .txt and I think always includes .html.

This will likely be OBE if #4334 is resolved in a way that directly links submission artifacts to the Submission object.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions