-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Team:GeoFormer Team Label for Geo Team. Now use Team:PresentationFormer Team Label for Geo Team. Now use Team:PresentationbugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceregressionv7.9.0v8.0.0
Description
Steps
- add an YXZ layer to the kibana.yml: e.g.
map.tilemap.url: https://tiles.maps.elastic.co/styles/dark-matter/{z}/{x}/{y}.png - open new map
- Select "Add layer" -> "Configured tile map service"
-> app crashes with
react-dom.development.js:25671 Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
at checkForNestedUpdates (react-dom.development.js:25671)
at scheduleUpdateOnFiber (react-dom.development.js:23674)
at Object.enqueueSetState (react-dom.development.js:13994)
at AddLayerPanel.__kbnSharedDeps__.../../node_modules/react/cjs/react.development.js.Component.setState (react.development.js:325)
at view.tsx:31
at onSourceConfigChange (kibana_base_map_layer_wizard.tsx:31)
at CreateSourceEditor (create_source_editor.js:17)
at renderWithHooks (react-dom.development.js:16260)
at updateFunctionComponent (react-dom.development.js:18347)
at beginWork$1 (react-dom.development.js:20176)
checkForNestedUpdates @ react-dom.development.js:25671
scheduleUpdateOnFiber @ react-dom.development.js:23674
enqueueSetState @ react-dom.development.js:13994
__kbnSharedDeps__.../../node_modules/react/cjs/react.development.js.Component.setState @ react.development.js:325
(anonymous) @ view.tsx:31
onSourceConfigChange @ kibana_base_map_layer_wizard.tsx:31
CreateSourceEditor @ create_source_editor.js:17
renderWithHooks @ react-dom.development.js:16260
updateFunctionComponent @ react-dom.development.js:18347
beginWork$1 @ react-dom.development.js:20176
beginWork$$1 @ react-dom.development.js:25756
performUnitOfWork @ react-dom.development.js:24698
workLoopSync @ react-dom.development.js:24671
performSyncWorkOnRoot @ react-dom.development.js:24270
(anonymous) @ react-dom.development.js:12199
unstable_runWithPriority @ scheduler.development.js:697
runWithPriority$2 @ react-dom.development.js:12149
flushSyncCallbackQueueImpl @ react-dom.development.js:12194
flushSyncCallbackQueue @ react-dom.development.js:12182
discreteUpdates$1 @ react-dom.development.js:24423
discreteUpdates @ react-dom.development.js:1438
dispatchDiscreteEvent @ react-dom.development.js:5881
react-dom.development.js:530 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in MapsCreateEditView (created by ConnectFunction)
in ConnectFunction (created by Context.Consumer)
in withRouter(Connect(MapsCreateEditView)) (created by LoadMapAndRender)
in LoadMapAndRender (created by Context.Consumer)
in Route (created by App)
in Switch (created by App)
in Router (created by App)
in Provider (created by App)
in EuiContext (created by I18nContext)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by I18nContext)
in I18nContext (created by App)
in App
Metadata
Metadata
Assignees
Labels
Team:GeoFormer Team Label for Geo Team. Now use Team:PresentationFormer Team Label for Geo Team. Now use Team:PresentationbugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experienceregressionv7.9.0v8.0.0