eclipse-esmf / esmf-aspect-model-editor

Manage Aspect Models visually — create, validate, create artefacts, persist file based
https://eclipse-esmf.github.io/ame-guide/introduction.html
Mozilla Public License 2.0
21 stars 7 forks source link

[BUG] mxGraph'error when open an external element: "The element you are looking for was not found" #135

Closed KobOp closed 6 months ago

KobOp commented 8 months ago

How: List of performed steps

  1. open New window with a default aspect model
  2. add an external property from the workspace, e.g. isMoving from Movement.ttl
  3. double click on the external property to open a new window showing the external model

What: Actual result vs expected result

Actual:

Expected:

Where: (e.g. component, version, url, your system info)

Windows10 64bit AME version: 5.1.1, 5.2.0 SAMM version: 2.1.0 ESMF SDK version: 2.4.2

Additional context (e.g. references) The error seems to be originated from mxGraph lib: https://github.com/eclipse-esmf/esmf-aspect-model-editor/blob/main/core/libs/mx-graph/src/lib/services/mx-graph.service.ts#L256 The error itself is not critical, thus the error message can be suppressed.

chris-volk commented 8 months ago

Dear @KobOp , thanks very much for reporting and the precise information. If you still have the model that provoked this error feel free to export the ttl and attach it here.

KobOp commented 8 months ago

This is an example model. I also tried with newly created model and can reproduce the same error. diagnostic.zip

michelu89 commented 6 months ago

Error fixed in v5.3.0.