You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Edit UI: save error goes away too fast + blank page #31707
Description: When there is a filing save error, a bug in Edit UI shows the error dialog for a fraction of a second then redirects the user to the Business Dashboard, making it impossible to read the dialog or choose an action (continue or exit).
Impact: Users have little or no indication that there is an error. They are redirected to the Business Dashboard, where their filing is in draft status instead of submitted. Also, the user has no ability to "continue" their filing to try to fix the error (although, a submit error is probably not fixable by the user).
Workaround: None.
To Reproduce:
login
open a coop
click "View and Change Business Information" (which takes you to a draft Special Resolution filing)
copy the URL
change some information (eg, coop type)
click Save and Resume Later
paste the URL from step 4 (this creates a new draft Special Resolution filing)
change some information (eg, coop type)
click Save and Resume Later (this generates an API error because there already exists a draft filing)
observe that a dialog displays an error for a fraction of a second and then the page redirects -- you do not have time to read the dialog
changed the title [-]Copy of Edit UI: cannot resume Special Resolution + save error goes away too fast[/-][+]Edit UI: save error goes away too fast + blank page[/+]on Dec 16, 2025
After fixing this, the error dialog displays. The "exit" action works fine, but I found clicking "ok" leaves the user on a blank page. I have not figured this out yet.
redirection occured when there's a save error (and the save error dialog was displayed for only a split second)
the OK button in the save error dialog closed the dialog but left the user on a blank page
To reproduce:
login
open an active coop
go to Business Information page (Special Resolution)
make a change (eg, coop type)
click Save and Resume Later -- this creates a draft
now that you are back at the Business Dashboard, click Back button -- this takes you back to a "new" Special Resolution (instead of resuming the previous draft)
make a change (eg, coop type)
click Save and Resume Later -- this attempts to save a new draft
observe the save error dialog
try OK button to return to your filing
click Save and Resume Later again
observe the save error dialog
try "Exit without saving" button to return to your Business Dashboard
This flow and error handling should work for other filings that can experience a save error (eg, Alteration, Change of Registration).
Activity
[-]Copy of Edit UI: cannot resume Special Resolution + save error goes away too fast[/-][+]Edit UI: save error goes away too fast + blank page[/+]severinbeauvais commentedon Dec 16, 2025
Analysis
I found that the current code unconditionally redirects after attempting to save the filing:
https://github.com/bcgov/business-edit-ui/blob/617326060e1c81e44e0ada4b701003c35c29a331/src/components/ViewWrapper.vue#L237
After fixing this, the error dialog displays. The "exit" action works fine, but I found clicking "ok" leaves the user on a blank page. I have not figured this out yet.
severinbeauvais commentedon Dec 18, 2025
Test Notes
I fixed two issues:
To reproduce:
This flow and error handling should work for other filings that can experience a save error (eg, Alteration, Change of Registration).
riyazuddinsyed commentedon Dec 22, 2025
Verified in dev.Working as expected.