The data import route does not validate in any way the input Annex C.3 zip archive for cyclic dependencies. If [a model in] the archive given as input contains cyclic dependencies, the WebServices server accepts it without any error or warning and creates the necessary databases.
In my case, I had a cyclic ParameterGroup, but I assume this can be reproduced with any of the possible data cycles.
If opening said model afterwards, when trying to interact (e.g. inspect) with the cyclic thing (tested with a ParameterGroup), the client/addin just hangs, presumably entering an infinite loop - after which it crashes and restarts.
This issue is reported here and not in the SAT as the only implementation for cycle validation is done in server-side side-effects on update operations.
Steps to Reproduce
Migrate a model (using SAT) containing a cyclic dependence
Open previously mentioned model afterwards in the addin
Interact (e.g. inspect) with the cyclic thing (tested with a ParameterGroup)
The addin hangs, after which it crashes and restart
Description
The data import route does not validate in any way the input Annex C.3 zip archive for cyclic dependencies. If [a model in] the archive given as input contains cyclic dependencies, the WebServices server accepts it without any error or warning and creates the necessary databases.
In my case, I had a cyclic ParameterGroup, but I assume this can be reproduced with any of the possible data cycles.
If opening said model afterwards, when trying to interact (e.g. inspect) with the cyclic thing (tested with a ParameterGroup), the client/addin just hangs, presumably entering an infinite loop - after which it crashes and restarts.
This issue is reported here and not in the SAT as the only implementation for cycle validation is done in server-side side-effects on update operations.
Steps to Reproduce
System Configuration
Docker compose setup with services v6.1.4.