-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: Disable role invite processing in fastboot mode #4038
Conversation
Codecov Report
@@ Coverage Diff @@
## development #4038 +/- ##
===============================================
- Coverage 21.90% 21.90% -0.01%
===============================================
Files 460 460
Lines 4733 4735 +2
===============================================
Hits 1037 1037
- Misses 3696 3698 +2 Continue to review full report at Codecov.
|
This is more of a workaround, to ignore the fastboot crashes in the production. |
OK, I'll be waiting for your fix 👍 |
I am not saying I have fixed or this is wrong. We can atleast let the issue
open to see what is causing the crashes and fix it in near future.
…On Mon, 10 Feb, 2020, 11:30 Areeb Jamal, ***@***.***> wrote:
OK,I'll be waiting for your fix
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4038?email_source=notifications&email_token=AKQMTLSRWFNF5ITXOCPS7ULRCDUPDA5CNFSM4KSDSDR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELHKPJY#issuecomment-583968679>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQMTLQQGMSQ36QUUOR4KQDRCDUPDANCNFSM4KSDSDRQ>
.
|
transitionTo throws an error in fastboot mode. Not because of a bug, it is by design. It is not meant to work in fastboot mode. Only on client Read This:
We use fastboot to render the HTML on server before it reaches client. This route only sends a POST request to API server and redirects. There is no HTML to be rendered, so why should it be handled on fastboot server? |
Even if you replace transitionTo with replaceWith, you'll not get the route HTML - embermap/ember-cli-fastboot-testing#204 This is the disadvantage of letting a framework do the heavy lifting for us. We just don't have enough control |
Moar examples - iezer/splanky@be70603 |
Issue opened since 2016 (about 4 years) - ember-fastboot/ember-cli-fastboot#202 |
More issues - ember-learn/ember-api-docs#128 You can try the "fix" using redirect instead of afterModel or model, but everything is a workaround when the issue is upstream - ember-learn/ember-api-docs#129 ember-learn/ember-api-docs#129 |
Didn't know the points you mentioned about the fastboot and transitions. It
is pretty clear now the reason for the failures.👍
…On Mon, 10 Feb, 2020, 12:56 Areeb Jamal, ***@***.***> wrote:
More issues - ember-learn/ember-api-docs#128
<ember-learn/ember-api-docs#128>
You can try the "fix" using redirect instead of afterModel or model, but
everything is a workaround when the issue is upstream -
https://github.com/ember-learn/ember-api-docs/pull/129/files
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4038?email_source=notifications&email_token=AKQMTLW5AVCFSNQYKWNWUMLRCD6RNA5CNFSM4KSDSDR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELHPQRI#issuecomment-583989317>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQMTLSB554X6UEXL2Z25LDRCD6RNANCNFSM4KSDSDRQ>
.
|
Fixes #3347