Module
dms
To Reproduce (scenario 1)
Affected versions: 18.0
Steps to reproduce the behavior:
- Go to any directory click Upload;
- a
dms.file is created and an ir.attachment;
- run scheduled action "Base: Auto-vacuum internal data", and the attachment is not deleted;
- delete the
dms.file;
- run the scheduled action again;
- the
ir.attachment is still not deleted.
To Reproduce (scenario 2)
- Don't select a directory;
- upload a file, and you get the error "You must select a directory first";
- the
ir.attachment is created though.
Expected behavior
I would expect the ir.attachment created during uploading new files to be garbage collected, or deleted directly.
Additional context
I'm using filestore storage.

Module
dms
To Reproduce (scenario 1)
Affected versions: 18.0
Steps to reproduce the behavior:
dms.fileis created and anir.attachment;dms.file;ir.attachmentis still not deleted.To Reproduce (scenario 2)
ir.attachmentis created though.Expected behavior
I would expect the
ir.attachmentcreated during uploading new files to be garbage collected, or deleted directly.Additional context
I'm using filestore storage.