]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed platform ontology sync startup failure problems after installs 63/3963/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 4 Mar 2020 21:43:40 +0000 (23:43 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 4 Mar 2020 21:43:40 +0000 (23:43 +0200)
commitb402468a5f6a74cce769eedf1d9f9b531b123842
tree2da3f9d41de4bfe211743747ff14164c1bf2de54
parent8c1a035fc1ea72fa9c8d161b667a730fd6bfa3ef
Fixed platform ontology sync startup failure problems after installs

Installing a new plug-in that contains multiple ontologies that depend
transitively on each other caused startup failure due to database
requests not finding the newly installed ontology that the second
installed ontology depends on.

The solution is strategic query cache flushes before and after the
installation into immutable contexts.

Read more about it in the issue.

gitlab #464

Change-Id: I1ad28585a85ad3a31cac8e058d0c6872e894be92
bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/QueryControlImpl.java
bundles/org.simantics/src/org/simantics/SimanticsPlatform.java