Open
Description
Expected Behavior
- A single thumbnail file should be generated when a Resource is created.
- The thumbnail file should be removed when the Resource is deleted.
Actual Behavior
When a Document is created, two files are created, e.g.:
-rw-r--r-- 1 root root 17135 Jul 16 07:11 document-886bda39-8560-40b2-b9a0-66104147b254-thumb-e5a132a7-57b7-43d2-bcf0-52d4af6fe3e0.jpg
-rw-r--r-- 1 root root 17135 Jul 16 07:11 document-886bda39-8560-40b2-b9a0-66104147b254-thumb-e5a132a7-57b7-43d2-bcf0-52d4af6fe3e0_3ClS2qX.jpg
When the Document is removed, the files are kept.
Other Resource types should be checked.
Steps to Reproduce the Problem
- Create a Document
- Check the thumbnail dir for files containing the resource UUID
- Remove the Document
- Check if the files still exist (they do)
Specifications
- GeoNode version: master (as of 20240716)