Are you removing, renaming or moving a folder in this PR?
[x] No, I'm not changing any folders (skip to TeamSites and delete the rest of this section)
[ ] Yes, I'm removing, renaming or moving a folder
Did you change site-wide styles, platform utilities or other infrastructure?
[x] No
[ ] Yes, and I used the proxy-rewrite steps to test the injected header scenario
Summary
We updated the claimant address schema for Burials to match the vets-website schema for the address component. In the process, the required country code changed from requiring two-digit codes to three-digit codes, resulting in validation errors for some returning in-progress forms. This PR adds a migration to return those users to the address entry page to update their country code.
In the network tab, note the in-progress form id. In the Rails console, update that IPF to be version 0 and have a claimant_address.country_code of 'US'.
Reload the Burials form and select continue in-progress form. You should be taken to the address page, and the country code should be blank.
What areas of the site does it impact?
Burials
Acceptance criteria
Quality Assurance & Testing
[x] I fixed|updated|added unit tests and integration tests for each feature (if applicable).
[x] No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
Are you removing, renaming or moving a folder in this PR?
Did you change site-wide styles, platform utilities or other infrastructure?
Summary
We updated the claimant address schema for Burials to match the vets-website schema for the address component. In the process, the required country code changed from requiring two-digit codes to three-digit codes, resulting in validation errors for some returning in-progress forms. This PR adds a migration to return those users to the address entry page to update their country code.
Related issue(s)
Testing done
What areas of the site does it impact?
Burials
Acceptance criteria
Quality Assurance & Testing
Error Handling
Authentication