bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 59 forks source link

Cont In: Create UI still retaining the documents that are Deleted From Minio. #21792

Open riyazuddinsyed opened 5 months ago

riyazuddinsyed commented 5 months ago

Describe the bug in the current situation When the document is Deleted from Minio using the API call, the UI draft still retains the deleted filing, allowing the user to move forward.

Impact of this bug When the attached PDF file is deleted, the draft shouldn't retain the document satisfying the validation.

Steps to reproduce the behavior:

  1. Go to 'https://dev.account.bcregistry.gov.bc.ca/'
  2. Login with BCREGA001/98900001
  3. Start a Continuation Filing.
  4. Upload the files in the Authorization Component.
  5. Note the key once the document is uploaded and save the draft.
  6. Now from the BE delete the document using the key
  7. Observe that the FE still shows the document on step 1 as well as step 5

Expected behavior If the document is deleted or missing by any means the UI should notify the user.

severinbeauvais commented 5 months ago

This is another variation of the issue described (and design requested) in #21728.

I don't think we need this ticket and I recommend we close it.

severinbeauvais commented 5 months ago

This bug cannot be solved given the existing document handling. It needs to be redesigned (as per #21728). I think this bug ticket should be closed.

cc: @NaveenHebbale