bcgov / entity

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

Auth Web MBR: Remove from Table button enabled for the Draft Continuation Application when it is Forbidden from the back end. VERIFY #24079

Open riyazuddinsyed opened 3 weeks ago

riyazuddinsyed commented 3 weeks ago

Describe the bug in the current situation When the user attempts to remove a Continuation In Application that is in a Pending for Staff Review state by clicking the "Remove From Table" button, the UI displays a pop-up message titled "Delete Continuation Application." After the user agrees to proceed, an error pop-up appears stating "Something went wrong." Upon investigating the network calls, it is observed that the API returns an error message: "This filing cannot be completed."

Steps to reproduce the behavior:

  1. Go to 'https://dev.account.bcregistry.gov.bc.ca/'
  2. Go to a Continuation Application that is in the Pending Staff Review state
  3. Now Click on the chevron and click on "Remove from Table"
  4. See error

Screenshots/ Visual Reference/ Source

Screen Shot 2024-10-28 at 2.39.58 PM.png
severinbeauvais commented 3 weeks ago

There is another ticket (#22683) reporting that "remove from table" actually tries to delete a continuation application. When the other ticket is fixed, THIS ticket should be obsolete. Please verify at that time.