Open glebfox opened 8 months ago
Should be ported to 1.x
After research, i did conclusion. There is too much changes to support entity and it's value in different datasources(databases). Right now, dynamic attribute add-on is tailored to the use of a single database. We can't place dynAttrValue entity and target entity in several databases without any hurt.
New feature that fix this: https://github.com/jmix-framework/jmix/issues/2963
Support working with different databases inside dynamic attribute
Right now, whole Dynamic Attribute add-on designed for single database. We need to redesign add-on so that can work with different databases. E.g.
Entity -> Primary DB DynamicAttributeValue (entity) -> Secondary DB DynamicAttributeValue.value (for example Entity has dynamic field that entity field too) -> Tertiary DB
And that should works
CategoryAttributeValue
entity located in same datasource neither do your target dynamic "Referred" entity.
Case:
AR:
jmix-trainings-working-with-data-advanced.zip
Jmix 2.1 test required (https://github.com/jmix-framework/jmix/issues/1721)