Skip to content

Assets Not Removed from AWS S3 on Sketch Deletion #3754

@raclim

Description

@raclim

p5.js version

No response

What is your operating system?

None

Web browser and version

No response

Actual Behavior

Reported by email:

A few days ago, a user reaching out to delete their account noticed that despite deleting all of the sketches and assets from their account, the asset storage bar still indicated used storage space (pictured in partial screenshot below).

Screenshot of empty Asset list but 57% storage used.

After taking a look on AWS S3, it seems like the user still had assets associated with their account, but had no sketches on MongoDB.

Expected Behavior

When a sketch is deleted, the storage bar in the Assets tab should update accordingly.

Steps to reproduce

I wasn't able to reproduce it consistently yet—thoughts on this would be helpful!

I was able to encounter this issue once through the following steps:

  1. Creating a new sketch.
  2. Uploading an asset to the sketch, then saving the sketch.
  3. Going to 'My Sketches' and confirming that the sketch is saved in the 'Sketches' tab and that the asset exists in the 'Assets' tab.
  4. Deleting the sketch through the dropdown icon in the 'Sketches' tab.
  5. Going back to the Assets tab, which did not reflect a change in the storage size amount.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugError or unexpected behaviorsNeeds Steps to ReproduceRequires instructions on how to recreate an issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions