transition.abort() causes 500 responses
See original GitHub issueAs @rwjblue pointed out in #195, aborting a transition in FastBoot causes a TransitionAborted
error to be thrown by the server, resulting in the request failing and the response returning a 500
error.
Here is an example stack trace:
Error: TransitionAborted at handleReject (/code/ember-bugs/dist/fastboot/vendor.js:14132:17)
at tryCatch (/code/ember-bugs/dist/fastboot/vendor.js:63911:14)
at invokeCallback (/code/ember-bugs/dist/fastboot/vendor.js:63926:15)
at publish (/code/ember-bugs/dist/fastboot/vendor.js:63894:9)
at publishRejection (/code/ember-bugs/dist/fastboot/vendor.js:63829:5)
at /code/ember-bugs/dist/fastboot/vendor.js:42159:7 at Queue.invokeWithOnError (/code/ember-bugs/dist/fastboot/vendor.js:10447:18)
at Object.Queue.flush (/code/ember-bugs/dist/fastboot/vendor.js:10502:11)
at Object.DeferredActionQueues.flush (/code/ember-bugs/dist/fastboot/vendor.js:10310:17)
at Object.Backburner.end (/code/ember-bugs/dist/fastboot/vendor.js:10665:25)
at [object Object]._onTimeout (/code/ember-bugs/dist/fastboot/vendor.js:11231:18)
at Timer.listOnTimeout (timers.js:92:15)
I’ll try to look at this when I get some time. If anyone has any thoughts on what might be causing this, please chime in.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
[Bug] Unexpected aborted transitions following call to ... - GitHub
transitionTo() causes an aborted transition which triggers a full route refresh. Precondition: Parent/child routes with navigation between child ...
Read more >Error handling in Step Functions - AWS Documentation
When Step Functions transitions to the state specified in a catch name, the object usually contains the field Cause . This field's value...
Read more >System Error Codes (500-999) (WinError.h) - Win32 apps
Indicates that a thread attempted to terminate itself by default (called NtTerminateThread with NULL) and it was the last thread in the current ......
Read more >RFC 4960: Stream Control Transmission Protocol
1. Slow-Start Beginning data transmission into a network with unknown conditions or after a sufficiently long idle period requires SCTP to probe the...
Read more >abort ui-router transition asynchronously without generating a ...
I solved this issue by defining my own defaultErrorHandler() . Now i can prevent error messages to show up after aborting a transition....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@alexraputa still has the same issue.
Confirm. I do not think an aborted transition should be directly considered an error condition.