Skip to content

BRD: Removing the Continuation in Application (post Draft) throws a false error message dialog. #22683

Closed

Description

@riyazuddinsyed

Describe the bug in current situation
When the user deletes a draft Continuation In Application then the UI throws a false error dialog saying that "Something went wrong" and the Auth API call throws a 400 error response.

Steps to reproduce the behavior:

  1. Go to 'https://dev.account.bcregistry.gov.bc.ca/account/2079/business'
  2. Find a Draft Continuation In Application
  3. Remove it from the MBR dashboard
  4. See error

Screenshots/ Visual Reference/ Source
Screen Shot 2024-08-07 at 12.59.24 PM.png

This is what happens when a Draft IA is Removed from the MBR dashboard.
Screen Shot 2024-08-07 at 1.00.11 PM.png

Design Notes

View the spreasheet below to see the secondary actions we want to display on the BRD

Activity

  1. added
    bug
    Entities Team
    on Aug 7, 2024
  2. severinbeauvais commented on Aug 8, 2024

    @severinbeauvais
    Collaborator

    deleted obsolete comment

  3. severinbeauvais commented on Aug 8, 2024

    @severinbeauvais
    Collaborator

    @riyazuddinsyed , I deleted a continuation application in Draft status from the MBR for account 2079, and it worked fine:

    image.png

  4. severinbeauvais commented on Aug 8, 2024

    @severinbeauvais
    Collaborator

    I think the bug here is that, when the continuation application is not in draft state, the dropdown menu says "Remove from table"...

    image

    But the action being performed is to delete the application...

    image.png

    A continuation application that is no longer draft (ie, has been paid, is pending staff review, rejected, approved, etc) cannot be deleted. It can only be removed from the table (unaffiliated from this account).

    @riyazuddinsyed , @andyyanggov Do you agree?

    cc: @ArwenQin

  5. changed the title [-]Removing the Continuation Draft ApplIcation from the MBR throws a false error message dialog.[/-] [+]Auth Web: Removing the Continuation Draft ApplIcation from the MBR throws a false error message dialog.[/+] on Aug 8, 2024
  6. andyyanggov commented on Aug 8, 2024

    @andyyanggov

    @severinbeauvais Yes, that makes sense to me.

  7. changed the title [-]Auth Web: Removing the Continuation Draft ApplIcation from the MBR throws a false error message dialog.[/-] [+]Auth Web: Removing the Continuation Draft Application from the MBR throws a false error message dialog.[/+] on Aug 8, 2024
  8. changed the title [-]Auth Web: Removing the Continuation Draft Application from the MBR throws a false error message dialog.[/-] [+]Auth Web: Removing the Continuation in Application (post Draft) from the MBR throws a false error message dialog.[/+] on Aug 8, 2024
  9. added
    connect
    on Aug 15, 2024
  10. vikas-gov commented on Aug 15, 2024

    @vikas-gov
    Collaborator

    Check with sbc-connect team @vikas-gov
    (If they are working on this piece of code and would like to fix it ?)

  11. self-assigned this
    on Aug 15, 2024
  12. severinbeauvais commented on Aug 27, 2024

    @severinbeauvais
    Collaborator

    As another team is working on the new MBR, Entities-Olga's team cannot work on this ticket.

  13. 9 remaining items

  14. added
    Entities Team
    on Dec 11, 2024
  15. changed the title [-]Auth Web MBR: Removing the Continuation in Application (post Draft) throws a false error message dialog.[/-] [+]BRD: Removing the Continuation in Application (post Draft) throws a false error message dialog.[/+] on Jan 3, 2025
  16. changed the title [-]BRD: Removing the Continuation in Application (post Draft) throws a false error message dialog.[/-] [+]Business Dashboard: Removing the Continuation in Application (post Draft) throws a false error message dialog.[/+] on Jan 3, 2025
  17. changed the title [-]Business Dashboard: Removing the Continuation in Application (post Draft) throws a false error message dialog.[/-] [+]BRD: Removing the Continuation in Application (post Draft) throws a false error message dialog.[/+] on Jan 3, 2025
  18. removed
    connect
    on Jan 16, 2025
  19. JazzarKarim commented on Feb 3, 2025

    @JazzarKarim
    Collaborator
  20. 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

  21. 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

  22. TVWerdal commented on Feb 19, 2025

    @TVWerdal
    Collaborator

    Related tickets:
    Issue #: #24079
    Issue #: #24986

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

Metadata

Metadata

Labels

Entities TeamPriority2UX Assurancebug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions