Ontology installation into an existing workspace fails after new feature installation
- Install an ontology-containing new feature into an existing product that is open with an existing workspace.
- Restart after the installation completes
- Watch something like this happen:
1. restart:
Simantics Platform initialization failed:
org.simantics.graph.db.MissingDependencyException: The following required items were missing from the database:
-http://www.simantics.org/DistrictNetwork-1.0
2. restart:
Simantics Platform initialization failed:
org.simantics.graph.db.MissingDependencyException: The following required items were missing from the database:
-http://www.simantics.org/DistrictNetworkRoutes-1.0/RouteActionContext
-http://www.simantics.org/DistrictNetworkRoutes-1.0/RouteFolder
-http://www.simantics.org/DistrictNetworkRoutes-1.0/Route
3. restart:
Simantics Platform initialization failed:
org.simantics.graph.db.MissingDependencyException: The following required items were missing from the database:
-http://www.simantics.org/DistrictDiagramRegions-1.0/Region
4. restart: OK
It seems that the dependency calculations between the installed new ontologies somehow fails and the system installs them in the wrong order, or something is cached incorrectly. Remains to be seen.
Note that this problem does not seem to be reproducible with 1.35 series platforms, only with platform after that. This would thus seem like some form of regression.
Edited by Tuukka Lehtonen