]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Merge "Fix selectPath returning true for nodes that haven't been loaded."
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 1 Feb 2019 13:24:08 +0000 (13:24 +0000)
committerGerrit Code Review <gerrit2@simantics>
Fri, 1 Feb 2019 13:24:08 +0000 (13:24 +0000)
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/DomainProcessor3.java

index 85cc8e629a5ffe341c367a3205f9af017f4d58bc..5c2cd05c9ef8cc2b949cd0b543a6a3ffc7e5ec0a 100644 (file)
@@ -154,7 +154,7 @@ public class DomainProcessor3 {
                        LOGGER.info("Root preclassification problem, expected no preclassification, got " + pre.name());
                // Roots are classified in status as INTERNAL
                status.put(ss.resource, ExtentStatus.INTERNAL);
-            } else if(SeedSpecType.ROOT.equals(ss.specType)) {
+            } else if(SeedSpecType.SPECIAL_ROOT.equals(ss.specType)) {
                // Special roots e.g. %model are marked as EXTERNAL
                if(pre != null && !ExtentStatus.EXTERNAL.equals(pre))
                        LOGGER.info("Special root preclassification problem, expected EXTERNAL preclassification, got " + pre.name());