Hi Team,
Entity properties that are defined in the parent entity while the parent entity is in a different project will not be persisted.
I’ve attached a test project, it’s a composite project.There are two subprojects in the composite project, one is an addon project, another is an application project. There is a BaseEntity in addon project, there is a TestEntity in application project, TestEntity inherits from BaseEntity.
Running the application, we can see: Properties defined in BaseEntity cannot be saved.
It seems there’s a bug, please take a look.
Related post in Chinese forum: Jmix2.0 MappedSuperclass 实体中属性无法保存 - 问题反馈 - jmix.cn
test2.zip (3.4 MB)
BTW: The ZipProject
task does not work for composite project, sharing a project is a bit more tricky .
Ray