I’m attempting to save an entity through the API. The entity has a reference to SYS_CATEGORY. If I set the ID of the category in the jsonBody and attempt to post the update, the platform throws an exception: “referenced entity for property category with id = xxx is missing”.
When I run SQL Profiler I see the platform is adding a filter (AND (DISCRIMINATOR = 1)). The problem is that all of my category entities have a discriminator value of “0” and so nothing is returned. The “0” is expected; when I look at Category.java I see the class attribute @DiscriminatorValue(“0”).
I recently upgraded to 6.7. Perhaps a breaking change?