This is a follow up of discussion #6468, where the cause likely comes from SysON.
On a sirius web application with SysON, when on a model that is not SysMLv2 (a for instance a model from a studio), deleting an model element does not work. There are no error messages after #2218, but the delete seems to loop infinitely (clicking on buttons does nothing). When reloading the page, the following error message shows on the browser debug console:
Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
ExplorerView<@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:112328:51
div
div
WorkbenchPart<@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:14652:50
div
PanelWithForwardedRef@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:10685:31
forwardRef(Panel)
div
PanelGroupWithForwardedRef@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:11726:36
forwardRef(PanelGroup)
div
PanelWithForwardedRef@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:10685:31
forwardRef(Panel)
div
PanelGroupWithForwardedRef@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:11726:36
forwardRef(PanelGroup)
div
Panels<@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:14719:43
Workbench<@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:15210:46
ImpactAnalysisDialogContextProvider@http://localhost:5173/node_modules/.vite/deps/LocationSearchingOutlined-B7q8_idA.js?v=54d61790:5429:43
TreeToolBarProvider@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:110142:27
UndoRedo@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:109731:16
OmniboxProvider<@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:66847:54
WorkbenchOmnibox@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:109925:24
SelectionSynchronizer@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:108698:29
SelectionContextProvider@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:14271:32
ConfirmationDialogContextProvider@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:13966:41
ConfirmationDialogSettingsContextProvider@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:108218:49
div
EditProjectView@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:110060:56
ViewerContextProvider@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:107608:29
RenderedRoute@http://localhost:5173/node_modules/.vite/deps/dist-4XfGnnP5.js?v=54d61790:3266:42
Routes@http://localhost:5173/node_modules/.vite/deps/dist-4XfGnnP5.js?v=54d61790:3690:31
Router@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:121146:34
div
ToastContextInitializer@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:105971:31
SnackbarProvider@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:2211:26
ToastProvider@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:105978:21
DefaultPropsProvider@http://localhost:5173/node_modules/.vite/deps/styled-BgxGuIKg.js?v=54d61790:4809:30
RtlProvider@http://localhost:5173/node_modules/.vite/deps/styled-BgxGuIKg.js?v=54d61790:4793:21
ThemeProvider$1@http://localhost:5173/node_modules/.vite/deps/styled-BgxGuIKg.js?v=54d61790:4766:42
ThemeProvider@http://localhost:5173/node_modules/.vite/deps/styled-BgxGuIKg.js?v=54d61790:4928:51
ThemeProviderNoVars@http://localhost:5173/node_modules/.vite/deps/styles-DptBlV3I.js?v=54d61790:305:29
ThemeProvider@http://localhost:5173/node_modules/.vite/deps/styles-DptBlV3I.js?v=54d61790:436:23
Router@http://localhost:5173/node_modules/.vite/deps/dist-4XfGnnP5.js?v=54d61790:3638:158
BrowserRouter@http://localhost:5173/node_modules/.vite/deps/dist-4XfGnnP5.js?v=54d61790:4317:47
I18nextProvider@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:863:25
I18nContextProvider@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:121003:27
ApolloProvider@http://localhost:5173/node_modules/.vite/deps/sirius-components-diagrams.es-CoUeM9fI.js?v=54d61790:7410:15
ApolloGraphQLProvider@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:118957:29
ExtensionProvider@http://localhost:5173/node_modules/.vite/deps/sirius-components-core.es-BexTHjpp.js?v=54d61790:13576:25
SiriusWebApplication@http://localhost:5173/node_modules/.vite/deps/sirius-web-application.es-cMNjwsWF.js?v=54d61790:121259:28
This is a follow up of discussion #6468, where the cause likely comes from SysON.
On a sirius web application with SysON, when on a model that is not SysMLv2 (a for instance a model from a studio), deleting an model element does not work. There are no error messages after #2218, but the delete seems to loop infinitely (clicking on buttons does nothing). When reloading the page, the following error message shows on the browser debug console: