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 6 forks source link

[BUG] References to SAMM units can not be opened #230

Open atextor opened 4 weeks ago

atextor commented 4 weeks ago

How: List of performed steps

What: Actual result vs expected result Expected: The unit definition is opened in a new window Actual: A popup appears "undefined could not be opened."

Where: (e.g. component, version, url, your system info) AME 5.5.0 on Linux

Input (files/screenshots) image

chris-volk commented 2 weeks ago

Units are only given as a reference which is why they cannot be opened inside AME (that's a bug). For fixing it in a helpful way, let the go to button (not the locate) point to the unit definition in the SAMM specification appendix: e.g. https://eclipse-esmf.github.io/samm-specification/snapshot/appendix/unitcatalog.html#unit-kiloamperePerSquareMetre where unit:kiloamperePerSquareMetre is the unit reference and replacing : with # gives the anchor url