zipline
zipline copied to clipboard
Bug: Expired photos not working as expected.
What happened?
Summary:
When uploading files to ZipLine (3.7.9) , I set a default 2-week expiration on them. Once the expiration date is reached, the image itself is deleted, but the file metadata remains visible in the Files view. This behavior necessitates additional manual cleanup, which undermines the convenience of the expiration feature.
Steps to Reproduce:
- Upload an image to ZipLine with a 2-week expiration setting.
- Wait until the expiration date passes.
- Observe that the image is deleted, but the file metadata still appears in the Files view.
Observed Behavior:
-
The file metadata (name, type, size, etc.) remains in the Files view after the image is deleted.
-
Clicking on the file name to open the modal reveals that the image is indeed deleted. Closing the modal then removes the file metadata from the Files view.
-
This results in two inconvenient options:
- Set expiration dates and manually clean up each file name by either deleting the stub info or viewing the file to trigger the metadata removal.
- Avoid using the expiration feature and manually delete the files after 2 weeks.
Expected Behavior:
Once the expiration date is reached, both the image and its metadata should be automatically removed from the Files view without requiring manual intervention.
Attachments:
-
Screenshot showing the file metadata remaining after the image is deleted
-
Screenshot of the Files view with multiple files where metadata should be removed
Version
latest (ghcr.io/diced/zipline or ghcr.io/diced/zipline:latest)
What browser(s) are you seeing the problem on?
Firefox, Chromium-based (Chrome, Edge, Brave, Opera, mobile chrome/chromium based, etc)
Zipline Logs
No response
Browser Logs
No response
Additional Info
No response