Skip to content

Officers - bug - Not handling "bad data" imported from COLIN #31362

Closed

Description

@dylan644

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

image.png

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

image.png

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

Activity

  1. added theissue type on Nov 20, 2025
  2. mbertucci commented on Nov 20, 2025

    @mbertucci
    Contributor

    Please tag Dietrich if necessary and estimate this ticket

  3. deetz99 commented on Nov 26, 2025

    @deetz99
    Collaborator

    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

  4. kialj876 commented on Nov 27, 2025

    @kialj876
    Collaborator

    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)

  5. kialj876 commented on Nov 27, 2025

    @kialj876
    Collaborator

    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

  6. deetz99 commented on Nov 27, 2025

    @deetz99
    Collaborator

    Yeah we can still validate on submission and get the errors that way.

  7. deetz99 commented on Nov 27, 2025

    @deetz99
    Collaborator

    Decision:

    Filter out non-edited parties on submission.

  8. removed their assignment
    on Nov 27, 2025
  9. self-assigned this
    on Nov 27, 2025
  10. mbertucci commented on Nov 27, 2025

    @mbertucci
    Contributor

    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

  11. mbertucci commented on Nov 27, 2025

    @mbertucci
    Contributor

    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

  12. deetz99 commented on Dec 9, 2025

    @deetz99
    Collaborator

    fixed: v0.0.34

  13. chdivyareddy commented on Dec 9, 2025

    @chdivyareddy
    Collaborator

    Verified in TEST!

    Added a second officer to the list:
    image.png

    Submission was successful with the new officer:
    image.png

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

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions