bcgov / entity

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

Edit UI: Changing the business type for a second time does not refresh the company name #23604

Open riyazuddinsyed opened 1 month ago

riyazuddinsyed commented 1 month ago

Describe the bug in the current situation When a user submits an Alteration Filing for a Continuation-In-Application and changes the business type from "BC Benefit" to "BC Unlimited Liability Company," the company name is automatically updated to reflect the new business type.

However, if the user attempts to make a subsequent change by clicking the "Change" button and modifying the business type from "BC Benefit" to "BC Limited Company," the company name does not update accordingly. This behavior differs from the initial alteration, where the company name was changed in line with the business type modification.

Private Zenhub Video

severinbeauvais commented 1 day ago

@meawong Please verify whether this still happens.

meawong commented 1 day ago

Bug still persists - reproduced testing with C9900799.

severinbeauvais commented 9 hours ago

@meawong reproduced this and will post her findings here.

meawong commented 9 hours ago

Impacting both regular and continued-in businesses. Appears to be an issue with the logic that determines when to recognize and submit a new company type when altering the company type for a second time (review submitTypeChange() in ChangeBusinessType.vue from Edit-UI).