You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/12/01 15:07:05 UTC
[GitHub] [incubator-superset] adam-stasiak commented on pull request #11876: fix: Check if annotation type is supported by the given chart type
adam-stasiak commented on pull request #11876:
URL: https://github.com/apache/incubator-superset/pull/11876#issuecomment-736611972
I had an error while testing this - please verify if it is connected - I would check on my side as well.
Build with docker-compose up
Go to http://localhost:8088/superset/explore/?form_data=%7B%22slice_id%22%3A%201432%7D
Click on
![image](https://user-images.githubusercontent.com/25153919/100757845-22dc5f00-33ef-11eb-8555-0713fc4d823a.png)
and then white screen with console error:
```AnnotationLayer.jsx?584b:200 Uncaught TypeError: Cannot read property 'supportNativeSource' of undefined
at AnnotationLayer.getSupportedSourceTypes (AnnotationLayer.jsx?584b:200)
at AnnotationLayer.render (AnnotationLayer.jsx?584b:689)
at finishClassComponent (VM78358 react-dom.development.js:17185)
at updateClassComponent (VM78358 react-dom.development.js:17135)
at beginWork (VM78358 react-dom.development.js:18654)
at HTMLUnknownElement.callCallback (VM78358 react-dom.development.js:189)
at Object.invokeGuardedCallbackDev (VM78358 react-dom.development.js:238)
at invokeGuardedCallback (VM78358 react-dom.development.js:293)
at beginWork$1 (VM78358 react-dom.development.js:23235)
at performUnitOfWork (VM78358 react-dom.development.js:22186)
getSupportedSourceTypes @ AnnotationLayer.jsx?584b:200
render @ AnnotationLayer.jsx?584b:689
finishClassComponent @ react-dom.development.js?7f13:17185
updateClassComponent @ react-dom.development.js?7f13:17135
beginWork @ react-dom.development.js?7f13:18654
callCallback @ react-dom.development.js?7f13:189
invokeGuardedCallbackDev @ react-dom.development.js?7f13:238
invokeGuardedCallback @ react-dom.development.js?7f13:293
beginWork$1 @ react-dom.development.js?7f13:23235
performUnitOfWork @ react-dom.development.js?7f13:22186
workLoopSync @ react-dom.development.js?7f13:22162
performSyncWorkOnRoot @ react-dom.development.js?7f13:21788
eval @ react-dom.development.js?7f13:11112
unstable_runWithPriority @ scheduler.development.js?b589:653
runWithPriority$1 @ react-dom.development.js?7f13:11062
flushSyncCallbackQueueImpl @ react-dom.development.js?7f13:11107
flushSyncCallbackQueue @ react-dom.development.js?7f13:11095
flushPassiveEffectsImpl @ react-dom.development.js?7f13:22915
unstable_runWithPriority @ scheduler.development.js?b589:653
runWithPriority$1 @ react-dom.development.js?7f13:11062
flushPassiveEffects @ react-dom.development.js?7f13:22852
eval @ react-dom.development.js?7f13:22731
workLoop @ scheduler.development.js?b589:597
flushWork @ scheduler.development.js?b589:552
performWorkUntilDeadline @ scheduler.development.js?b589:164
react_devtools_backend.js:2430 The above error occurred in the <AnnotationLayer> component:
in AnnotationLayer (created by ForwardRef(AsyncComponent))
in ForwardRef(AsyncComponent) (created by AnnotationLayerControl)
in div (created by AnnotationLayerControl)
in div (created by Popover)
in div (created by Content)
in Content (created by Trigger)
in div (created by PopupInner)
in div (created by Align)
in Align (created by CSSMotion)
in DomWrapper (created by CSSMotion)
in CSSMotion (created by PopupInner)
in PopupInner (created by Popup)
in div (created by Popup)
in Popup (created by Trigger)
in ForwardRef (created by Trigger)
in Trigger (created by ForwardRef(Tooltip))
in ForwardRef(Tooltip) (created by Tooltip)
in Tooltip (created by Popover)
in Popover (created by AnnotationLayerControl)
in div (created by ListGroup)
in ListGroup (created by AnnotationLayerControl)
in div (created by AnnotationLayerControl)
in AnnotationLayerControl (created by Context.Consumer)
in WithTheme(AnnotationLayerControl) (created by Connect(WithTheme(AnnotationLayerControl)))
in Connect(WithTheme(AnnotationLayerControl)) (created by Control)
in div (created by Control)
in Control (created by ControlPanelsContainer)
in div (created by ControlSetRow)
in div (created by ControlSetRow)
in ControlSetRow (created by ControlPanelsContainer)
in div (created by PanelBody)
in PanelBody (created by ControlPanelSection)
in div (created by PanelCollapse)
in Transition (created by Collapse)
in Collapse (created by PanelCollapse)
in PanelCollapse (created by ControlPanelSection)
in div (created by Panel)
in Panel (created by Uncontrolled(Panel))
in Uncontrolled(Panel) (created by ForwardRef)
in ForwardRef (created by ControlPanelSection)
in ControlPanelSection (created by ControlPanelsContainer)
in div (created by TabPane)
in TabPane (created by Context.Consumer)
in Styled(TabPane) (created by ControlPanelsContainer)
in div (created by TabPanelList)
in div (created by TabPanelList)
in TabPanelList (created by ForwardRef(Tabs))
in div (created by ForwardRef(Tabs))
in ForwardRef(Tabs) (created by Tabs)
in Tabs (created by Context.Consumer)
in Styled(Tabs) (created by ControlPanelsContainer)
in div (created by Context.Consumer)
in Styled(div) (created by ControlPanelsContainer)
in ControlPanelsContainer (created by Connect(ControlPanelsContainer))
in Connect(ControlPanelsContainer) (created by ExploreViewContainer)
in div (created by ExploreViewContainer)
in div (created by Context.Consumer)
in Styled(div) (created by ExploreViewContainer)
in ExploreViewContainer (created by Connect(ExploreViewContainer))
in Connect(ExploreViewContainer) (created by App)
in ThemeProvider (created by App)
in Provider (created by App)
in App
in AppContainer
in Unknown
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.
overrideMethod @ react_devtools_backend.js:2430
logCapturedError @ react-dom.development.js?7f13:19561
logError @ react-dom.development.js?7f13:19598
update.callback @ react-dom.development.js?7f13:20742
callCallback @ react-dom.development.js?7f13:12513
commitUpdateQueue @ react-dom.development.js?7f13:12534
commitLifeCycles @ react-dom.development.js?7f13:19917
commitLayoutEffects @ react-dom.development.js?7f13:22835
callCallback @ react-dom.development.js?7f13:189
invokeGuardedCallbackDev @ react-dom.development.js?7f13:238
invokeGuardedCallback @ react-dom.development.js?7f13:293
commitRootImpl @ react-dom.development.js?7f13:22573
unstable_runWithPriority @ scheduler.development.js?b589:653
runWithPriority$1 @ react-dom.development.js?7f13:11062
commitRoot @ react-dom.development.js?7f13:22413
finishSyncRender @ react-dom.development.js?7f13:21839
performSyncWorkOnRoot @ react-dom.development.js?7f13:21825
eval @ react-dom.development.js?7f13:11112
unstable_runWithPriority @ scheduler.development.js?b589:653
runWithPriority$1 @ react-dom.development.js?7f13:11062
flushSyncCallbackQueueImpl @ react-dom.development.js?7f13:11107
flushSyncCallbackQueue @ react-dom.development.js?7f13:11095
flushPassiveEffectsImpl @ react-dom.development.js?7f13:22915
unstable_runWithPriority @ scheduler.development.js?b589:653
runWithPriority$1 @ react-dom.development.js?7f13:11062
flushPassiveEffects @ react-dom.development.js?7f13:22852
eval @ react-dom.development.js?7f13:22731
workLoop @ scheduler.development.js?b589:597
flushWork @ scheduler.development.js?b589:552
performWorkUntilDeadline @ scheduler.development.js?b589:164
scheduler.development.js?b589:178 Uncaught TypeError: Cannot read property 'supportNativeSource' of undefined
at AnnotationLayer.getSupportedSourceTypes (AnnotationLayer.jsx?584b:200)
at AnnotationLayer.render (AnnotationLayer.jsx?584b:689)
at finishClassComponent (VM78358 react-dom.development.js:17185)
at updateClassComponent (VM78358 react-dom.development.js:17135)
at beginWork (VM78358 react-dom.development.js:18654)
at HTMLUnknownElement.callCallback (VM78358 react-dom.development.js:189)
at Object.invokeGuardedCallbackDev (VM78358 react-dom.development.js:238)
at invokeGuardedCallback (VM78358 react-dom.development.js:293)
at beginWork$1 (VM78358 react-dom.development.js:23235)
at performUnitOfWork (VM78358 react-dom.development.js:22186)```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org