zipline icon indicating copy to clipboard operation
zipline copied to clipboard

Bug: Expired photos not working as expected.

Open chrgeorgeson opened this issue 9 months ago • 0 comments

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:

  1. Upload an image to ZipLine with a 2-week expiration setting.
  2. Wait until the expiration date passes.
  3. 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:

    1. 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.
    2. 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:

  1. Screenshot showing the file metadata remaining after the image is deleted r7kufU

  2. Screenshot of the Files view with multiple files where metadata should be removed JURD8Y

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

chrgeorgeson avatar May 25 '24 15:05 chrgeorgeson