]> gerrit.simantics Code Review - simantics/platform.git/commit
Changed SCLTypeUtils to not log warnings for non-property relations 75/4275/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 3 Jun 2020 09:40:35 +0000 (12:40 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 3 Jun 2020 09:49:56 +0000 (09:49 +0000)
commit51109130169bdbb495960583ccdc24dc80d48a1a
tree712d20dae96287de113816d7d30368c2785bba6a
parentfcc55d14a8af28b44b80ecb32822ad2080196417
Changed SCLTypeUtils to not log warnings for non-property relations

For example procedural UCs and their substructure requests would report
tons of these all the time, which is worthless.

Also added an SCL type for MOD.ChangeInformation to avoid having to see
warnings about the SCL type of MOD.ChangeInformation not being
available:

```
WARN  [...] org.simantics.modeling.SCLTypeUtils: SCLTypeUtils.getType
cannot transform data type '{
    createdBy : String,
    createdAt : Long,
    modifiedBy : String,
    modifiedAt : Long
}' to type. Returns a as default.
```

gitlab #546

Change-Id: I30210fb3055a4d844fe6e9b07c64490a45c14ecd
(cherry picked from commit b055bfb36cca301ceed0591028d245e152c8c32d)
bundles/org.simantics.modeling.ontology/graph/Modeling.pgraph
bundles/org.simantics.modeling/scl/Simantics/ChangeInformation.scl [new file with mode: 0644]
bundles/org.simantics.modeling/src/org/simantics/modeling/SCLTypeUtils.java