Skip to content

[BUG] #302

@jacewski-bosch

Description

@jacewski-bosch

How: List of performed steps
Create a model with a property with an example value of type "string".
Create a Characteristic with a dataType "integer".
Try to validate.
Try to save.

What: Actual result vs expected result

Validation message is inspecific while save message is more helpful.

Also I can't save or export the file in anyway. (Tried Clipboard, )

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

AME 5.6.0

Additional context (e.g. references)

@prefix samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.1.0#> .
@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.1.0#> .
@prefix samm-e: <urn:samm:org.eclipse.esmf.samm:entity:2.1.0#> .
@prefix unit: <urn:samm:org.eclipse.esmf.samm:unit:2.1.0#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix : <urn:samm:org.eclipse.examples:1.0.0#> .

:SimpleAspect a samm:Aspect ;
   samm:properties ( :property1 ) ;
   samm:operations ( ) ;
   samm:events ( ) .

:property1 a samm:Property ;
   samm:characteristic :Characteristic1 ;
   samm:exampleValue Some String .
# I'm guessing what the Editor is doing in the line above is removing quotation marks as its trying to save it as an integer. 

:Characteristic1 a samm:Characteristic ;
   samm:dataType xsd:integer .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions