Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with query params using refreshModel within an Engine #161

Merged
merged 4 commits into from
Nov 19, 2019

Conversation

xg-wang
Copy link
Contributor

@xg-wang xg-wang commented Nov 19, 2019

Engine routes have fullRouteName prefixed with engine name. It breaks the assertion.
test: Create failing test for engine route QP refresh commit will have this error in console:

Uncaught Error: Assertion Failed: This return section should not be reachable.
`refreshRouteName` should be always present for `route.refresh()`

This PR also refactors the queryParams related tests.

Uncaught Error: Assertion Failed: This return section should not be reachable.
`refreshRouteName` should be always present for `route.refresh()`
@rwjblue rwjblue changed the title fix: engine route QP refresh Fix issue with query params using refreshModel within an Engine Nov 19, 2019
@rwjblue rwjblue added the bug label Nov 19, 2019
@rwjblue rwjblue merged commit bfdd7da into nickiaconis:master Nov 19, 2019
@xg-wang xg-wang deleted the engine-qp branch November 19, 2019 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants