Open-MBEE / mms-alfresco

Model Management System
Apache License 2.0
30 stars 24 forks source link

Incorrect value for embedded LiteralInteger elements when using REST API #337

Open abelhegedus opened 4 years ago

abelhegedus commented 4 years ago

We have found that MMS returns double value in case of LiteralInteger attributes if listing all elements in project ( GET ../elements operation ) but returns the correct value when retrieving only a single element (GET ../elements/{id} operation). This seems to happen only with LiteralInteger in our tests. The issue is reproducible with a project on the public OpenMBEE MMS (see API requests below).

Example