ember.js
ember.js copied to clipboard
[Bug] Route#refresh() results in a transition that cannot be retried if there are dynamic segments
I'm storing a failed transition on route errors and presenting "retry" button in the application-error template that calls failedTransition.retry().
Everything works fine, except when the transition error results from a route "refresh", if that route has dynamic segments. In this case failedTransition.retry() fails with:
You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route [route name]
Repro Twiddle: https://ember-twiddle.com/6d2f981f6628a3260db8cafd3b3aac0a?openFiles=routes.flopping-route%5C.js%2C
Ember: 3.22.1
Similar (in spirit) to #16992, #16921, #10945
Thank you @krukid!