-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BUGFIX release] Don't serialize default QPs on RouterService #19971
Conversation
b9fa54d
to
05f2a12
Compare
05f2a12
to
6416faf
Compare
// Spoilers: under the hood this currently uses router.js APIs which | ||
// *do not* account for this being `undefined`. | ||
routeName as string, | ||
targetRouteName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens when targetRouteName here is undefined?
should we remove the as
and instead narrow the type with an assert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t know. It was like this before and I just moved things around. I do want to review all as
casts someone soon.
Thanks for doing this!! |
I think backporting this to beta is probably fine, but I'd hold off on backporting to |
I updated Ember from 4.2.0 to 4.3.0 and a test started failing. I have a component that does: this.router.replaceWith(...this.model.routeComponents, { queryParams: this.model.queryParameters }) Where
It's because of the "empty" |
@wagenet, @rwjblue, @snewcomer, @locks, @NullVoxPopuli - sorry for pinging you all but any ideas about my comment above? |
Actually the same issue happens with |
@boris-petrov |
I'd agree with that -- want to submit a PR? |
No worries. Well,
It's probably going to be difficult for me, I'm completely unfamiliar with the code. But I did add a PR with tests. |
@boris-petrov Thanks for the PR! I've added my comments there. |
The session-kind test expects the PVV Ministerraad to come after the normal Ministerraad in a filtered agendas table. With this new default filtering, we explicitly apply this ordering. An agendaitem delete call was causing errors which might be related to these Ember bugs: - emberjs/ember.js#20051 - emberjs/ember.js#19971 Leaving out setting anchor to null in hope that it might fix it.
[BUGFIX release] Don't serialize default QPs on RouterService
[BUGFIX release] Don't serialize default QPs on RouterService
Fixes #19493.