bcgov / bcgov/entity

UIs: delete uploaded Minio file if filing is cancelled

Open
#14,795 1 comment 0 reactions 0 assignees View on GitHub
ENTITY - DO NOT USE Priority2 techdebt
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

(There may already be a BE feature or ticket to delete an uploaded file when a draft filing is deleted.)

THIS is a UI ticket to delete an uploaded file if the current filing is cancelled. This will need to be fixed anywhere a current filing can be cancelled -- at the moment this is only the Court Order filing in Filings UI.

Example:
1. login as staff
2. go to a business' dashboard
3. start a Court Order filing
4. select a valid file
5. click Cancel

In this example, the file you selected was uploaded to Minio and then orphaned (no link to it was saved in LEAR). We should delete it from Minio when the filing is cancelled.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the Filings UI at the Court Order filing flow and reproduce the login, upload, and Cancel steps described in the issue. Trace how the selected file is uploaded and how cancellation is handled, then verify that cancelling removes the uploaded object from Minio and that the behavior covers every current-filing cancellation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.