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.