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
Officers - bug - Not handling "bad data" imported from COLIN #31362
This ticket is a result of testing with data from migrated companies from COLIN. It is a result of "bad data" in COLIN which we are going to have to handle as we are unlikely to be able to "fix" or remap 100% of this problem data.
Test case - BC1365670 - DIGITAL VIBE APPLIED SCIENCES LTD. - BACKFILL_IMPORT_TEST
This corp has been re-imported so is available for examination.
Corp has one Officer imported from COLIN - note that this record has no postal code
Scenario:
migrated corp with existing officer data (1 record)
Officer address imported from COLIN is missing postal code
add a second officer - screen enforces validation for new record, have to have address correct
Click Save on filing - error generated (see below)
it appears that is the "unchanged" 1st officer record missing the postal code that is causing it to croak on the absence of the postal code, even though that address was unchanged
If an address is missing a postal code then we are likely going to have to migrate it without "fixing it", i.e. still missing the postal code
It is likely going to be ok to force users to correct such bad data if they are doing something that edits a bad address record, so that's likely going to be how data gets cleaned up progressively.
We're going to have to display faulty/incomplete data where required in the system, so we have to be able to handle the bad data enough to display it.
In this scenario, it looks like the bad data on the unchanged officer record is causing some back end validation to throw a wobbly even though that particular record was not changed
Solution ? - don't do backend validation on records that have not changed ?
@argush3 is the person to talk to for more information on the data migration pipeline from COLIN
I'm thinking it may be better to prompt the user to add the missing postal code in the UI.
Postal code is required for the api validation. Looking at other filings, they will run into this issue for all filing types until the postal code is added or new functionality is added to the api processor to ignore certain values.
Yeah I like that - it needs some UX thought though I think. Ideally we make it clear to the user which officer has issues and what the issue is otherwise it could cause a lot of frustration (i.e. I could have a bunch of existing records with different issues)
The other thing to consider is we just decided to take the records inside the common parties table out of the schema validation and we'll want this same flow for any other party form that uses it I think. Maybe we add those back in or just validate them explicitly before submission
Dylan plans on managing expectations with early adopters group. Users can go in and correct themselves for now. Moving out of Product Backlog in to new issues
Moving out - does not break functionality - this is a should have - we will review when the team is finished High Priority work with Accounts, Low Volume Filing, DoD
Activity
mbertucci commentedon Nov 20, 2025
Please tag Dietrich if necessary and estimate this ticket
deetz99 commentedon Nov 26, 2025
I'm thinking it may be better to prompt the user to add the missing postal code in the UI.
Postal code is required for the api validation. Looking at other filings, they will run into this issue for all filing types until the postal code is added or new functionality is added to the api processor to ignore certain values.
Sound reasonable? @kialj876
kialj876 commentedon Nov 27, 2025
Yeah I like that - it needs some UX thought though I think. Ideally we make it clear to the user which officer has issues and what the issue is otherwise it could cause a lot of frustration (i.e. I could have a bunch of existing records with different issues)
kialj876 commentedon Nov 27, 2025
The other thing to consider is we just decided to take the records inside the common parties table out of the schema validation and we'll want this same flow for any other party form that uses it I think. Maybe we add those back in or just validate them explicitly before submission
deetz99 commentedon Nov 27, 2025
Yeah we can still validate on submission and get the errors that way.
deetz99 commentedon Nov 27, 2025
Decision:
Filter out non-edited parties on submission.
mbertucci commentedon Nov 27, 2025
Dylan plans on managing expectations with early adopters group. Users can go in and correct themselves for now. Moving out of Product Backlog in to new issues
mbertucci commentedon Nov 27, 2025
Moving out - does not break functionality - this is a should have - we will review when the team is finished High Priority work with Accounts, Low Volume Filing, DoD
deetz99 commentedon Dec 9, 2025
fixed: v0.0.34
chdivyareddy commentedon Dec 9, 2025
Verified in TEST!
Added a second officer to the list:

Submission was successful with the new officer:
