]> gerrit.simantics Code Review - simantics/platform.git/commit
Use proper URI encoding/decoding in fail-safe import 24/624/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 14 Jun 2017 13:01:51 +0000 (16:01 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Wed, 14 Jun 2017 13:01:51 +0000 (16:01 +0300)
commitc8d17ec86ad48f769923d1e674e2755471e20189
tree4d81764784332705a4630d27f99eaac9709a4cd8
parentd26148afe7f72dad8eee04764a866b6bdd201c8e
Use proper URI encoding/decoding in fail-safe import

Earlier implementation didn't handle correctly cases where missing
resources had slashes in their names. Also fixed error reporting logic
to not remove error messages from sibling resources with matching
prefix.

refs #7300
Change-Id: Ia3ff0b09e592ff63fbb2872fa9329c3a471ed382
bundles/org.simantics.graph.db/src/org/simantics/graph/db/StreamingTransferableGraphImportProcess.java
bundles/org.simantics.graph/src/org/simantics/graph/representation/TransferableGraphUtils.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sharedontology/wizard/ModelImportWizard.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sharedontology/wizard/SharedOntologyImportWizard.java