Skip to content

router/canRoute(): handle missing validateData#1536

Open
alxndrsn wants to merge 7 commits into
getodk:masterfrom
alxndrsn:meta-validateDate-undefined
Open

router/canRoute(): handle missing validateData#1536
alxndrsn wants to merge 7 commits into
getodk:masterfrom
alxndrsn:meta-validateDate-undefined

Conversation

@alxndrsn
Copy link
Copy Markdown
Contributor

@alxndrsn alxndrsn commented Apr 25, 2026

Closes getodk/central#1850

What has been done to verify that this works as intended?

A new unit test. Previously there were zero tests for canRoute().

Why is this the best possible solution? Were any other approaches considered?

I'm not sure why validateData is undefined.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

No obvious risk of regression.

Does this change require updates to user documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • run npm run test and npm run lint and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

@alxndrsn alxndrsn marked this pull request as ready for review April 25, 2026 11:54
@alxndrsn alxndrsn requested a review from matthew-white May 19, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[frontend] /account/ crashes

1 participant