REST API - Creating Entity Instance Returns ID of "0"

In the Polymer front end, when I create an instance of an entity (using cuba-entity-form), the instance is created properly and gets assigned a proper ID, but instead of returning the new ID, it returns “0”.

Attached is the source code for the entity I am working with.

Policyholders.java.txt (4.8K)

The issue is fixed. The fix will be in version 6.6.1

Thank you for reporting the problem. We have created a YouTrack issue, see the link on the right hand side.

1 Like

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/PL-9443