Open bs-jokri opened 1 year ago
you can find the model in this PR https://github.com/eclipse-tractusx/sldt-semantic-models/pull/160/files
You should check out the whole repository, to have the imported model available as well. from the root folder of the repo you can call
java -jar samm-cli-2.2.2.jar aspect io.catenax.id_based_request_for_update/1.0.0/IdBasedRequestForUpdate.ttl to png -o output.png
which should produce the mentioned problem
@bs-jokri The PR model does not seem to contain a header
Property or a HeaderCharacteristic
. Can you please point to a place that reproduces the problem?
The issue was fixed in samm-cli v.2.4.0 https://github.com/eclipse-esmf/esmf-sdk/pull/407
Describe the bug Call PNG generator by
for a model with a property imported from another namespace.
Instead of the aspect of the importing model (IdBasedRequestForUpdate.ttl), the aspect of the imported model is shown.
removing the aspect definition from the imported model, forces the generator to use the correct aspect.
Also it generates a dependency between property and characteristic twice, even though there is only one.
Model and files can be provided upon request.