syndesisio / syndesis-react

[FORK] A flexible, customizable, open source platform that provides core integration capabilities as a service.
Apache License 2.0
3 stars 19 forks source link

Error deleting integration from details page #446

Open elvisisking opened 5 years ago

elvisisking commented 5 years ago

When deleting an integration from the integration details page the following error is displayed in the console:

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 Fetch (created by Context.Consumer)
    in SyndesisFetch (created by WithChangeListener)
    in WithChangeListener (created by Context.Consumer)
    in Fetch (created by Context.Consumer)
    in SyndesisFetch (created by WithIntegration)
    in WithIntegration (created by WithMonitoredIntegration)
    in WithMonitoredIntegration (at DetailsPage.tsx:46)
    in Route (created by WithRouteData)
    in WithRouteData (at DetailsPage.tsx:44)
    in Translation (at DetailsPage.tsx:40)
    in DetailsPage (created by Context.Consumer)

This error can be reproduced on both the integration DetailsPage and MetricsPage. Though the error appears in the console, the functionality of the app works fine (redirect to integrations list page).

Per @riccardo-forina here, this error can be safely ignored but should be eventually addressed.