Attribute code of FetchGroup(){deleteTs, code, name, id, version, deletedBy} is not mapped

This error appears when I try to persist an entity (using TransactionalDataManager API) that contains a property named status which is of class Status. The Status class has a property named statusType which is of class StatusType, which inherits GenericEnumEntity which has the property code.

I will attach the classes_and_logs.7z (4.5 KB) here.

I am using CUBA Platform 7.1BETA version, but previously, I was using 6.10 and everything worked perfect. Also, the use case described in the first sentence of this post is widely spreaded across my application, so this issue is a HUGE blocker for my application. Basically, 80-90% of the entities have that status field.

Also, the issue is only happening when trying to save a newly created entity, not an already existing one.

Can someone explain me the cause or speculate why this error might have appeared?

Hi,
I could not reproduce the problem with the current data model. Could you provide sample project that reproduces the error?

Fixed it, it seems that the old entity listeners were the cause. Couldn’t find a direct link, but when I migrated old listeners to entity changed event listeners I got it to work.