Details
-
Bug
-
Resolution: Done
-
Blocker
-
0.8.0
-
None
-
- start the app by 'yarn start' only
- navigate to localhost:8080
- See the blank page (sometimes the actual page flickers there for a while, but ends up in blank anyway)
-
2020 Week 13-15 (from Mar 23)
Description
When the management-console app is started without the dev:server, it crashes and only a blank page is shown.
It should be able to handle unavailability of the server and inform the user.
Issue details from the Web Console in browser:
TypeError: getQuery.data is undefined
Dashboard.tsx:65:5
Dashboard Dashboard.tsx:65
React 10
performSyncWorkOnRoot self-hosted:926
flushSyncCallbackQueueImpl React
unstable_runWithPriority scheduler.development.js:697
React 5
dispatchAction self-hosted:981
error react-hooks.esm.js:242
notifySubscription Observable.js:140
onNotify Observable.js:179
error Observable.js:240
iterateObserversSafely bundle.esm.js:435
forEach self-hosted:235
iterateObserversSafely bundle.esm.js:435
onError bundle.esm.js:386
invoke bundle.esm.js:1209
queryListenerForObserver bundle.esm.js:1247
broadcastQueries bundle.esm.js:1559
forEach self-hosted:3442
broadcastQueries bundle.esm.js:1557
forEach self-hosted:1204
broadcastQueries bundle.esm.js:1555
networkResult bundle.esm.js:1161
The above error occurred in the <Dashboard> component:
in Dashboard (created by Context.Consumer)
in Route (created by BaseLayout)
in Switch (created by BaseLayout)
in Router (created by BrowserRouter)
in BrowserRouter (created by BaseLayout)
in BaseLayout
in ApolloProvider
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.