Skip to content

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

Closed

Description

@riyazuddinsyed

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

Activity

  1. added
    bug
    Entities Team
    on Oct 28, 2024
  2. changed the title [-]Cont in: Remove from Table button enabled for the Draft Continuation Application when the is Forbidden from the back end.[/-] [+]Auth Web MBR: Remove from Table button enabled for the Draft Continuation Application when the is Forbidden from the back end.[/+] on Oct 29, 2024
  3. added
    Dependency
    connect
    on Oct 29, 2024
  4. severinbeauvais commented on Oct 31, 2024

    @severinbeauvais
    Collaborator

    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.

  5. changed the title [-]Auth Web MBR: Remove from Table button enabled for the Draft Continuation Application when the is Forbidden from the back end.[/-] [+]Auth Web MBR: Remove from Table button enabled for the Draft Continuation Application when it is Forbidden from the back end. VERIFY[/+] on Oct 31, 2024
  6. TVWerdal commented on Feb 5, 2025

    @TVWerdal
    Collaborator

    Dropdown currently shows "Delete Continuation Application" regardless of which state of the filing. Referenced here: bcgov/business-ui#61 (comment)

  7. changed the title [-]Auth Web MBR: Remove from Table button enabled for the Draft Continuation Application when it is Forbidden from the back end. VERIFY[/-] [+][VERIFY] Auth Web MBR: Remove from Table button enabled for the Draft Continuation Application when it is Forbidden from the back end. [/+] on Feb 6, 2025
  8. self-assigned this
    on Feb 11, 2025
  9. jacqueline-williams-549 commented on Feb 13, 2025

    @jacqueline-williams-549

    Design is blocked by Ticket#25939 and Ticket#25937 (being worked on by Omid's team). We need to test what happens to the NR when authorization or application is removed, but currently named continuation ins are blocked by an error on NR flow or direct to COLIN from BRD

  10. jacqueline-williams-549 commented on Feb 14, 2025

    @jacqueline-williams-549

    Severin found a workaround - Design is complete
    Design team has chosen to go with language of "Delete Application" even though we are only unafiliating it - from the user's perspective, the application will be deleted because they won't be able to get it back.

    Criteria

    On the BRD

    • If the authorization or application has NOT yet been submitted, the secondary action button is "Delete Continuation Application"
      • When user selects 'Delete Application' button, display the "Delete Application" modal
    • When the application (final step) has been submitted, the secondary action button is "Remove from Table"
      • When user selects "Remove from Table" button, display the "Remove Business" modal

    Delete Application Modal

    • When user hits 'close' X icon, close the modal and return to previous state
    • When user selects 'Cancel', close the modal and return to previous state
    • When the user hits "Delete Application", unafiliate the application/authorization and it no longer displays on BRD

    Remove Business Modal

    • When user hits 'close' X icon, close the modal and return to previous state
    • When user selects 'Cancel', close the modal and return to previous state
    • When user selects "Remove Business" button, unafiliate the business. It no longer displays on BRD

    Design: https://www.figma.com/design/rNe2jn8wyFykKRzwiBo6ar/Continuation-In-V6?node-id=2188-39977

  11. TVWerdal commented on Feb 19, 2025

    @TVWerdal
    Collaborator

    Related tickets:
    Issue #: #22683
    Issue #: #24986

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

DependencyEntities TeamPriority3bugconnect

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions