You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that EntityLoadingEvent is not fired for entities that are associations of the main loaded entity. E.g. when we load an entity A using the dataManager and the entity A has a reference to the entity B (that is included to the fetch plan), the EntityLoadingEvent will be fired for entity A only. However, it is expected that the event should be fired for entity B as well. If the entity B is not included to the fetch plan, the event for it will be fired, because the lazy-loading mechanism will load an additional loading of the entity B using the dataManager.
Jmix: 1.5.4 (the same probably for 2.x)
It seems that
EntityLoadingEvent
is not fired for entities that are associations of the main loaded entity. E.g. when we load an entity A using the dataManager and the entity A has a reference to the entity B (that is included to the fetch plan), theEntityLoadingEvent
will be fired for entity A only. However, it is expected that the event should be fired for entity B as well. If the entity B is not included to the fetch plan, the event for it will be fired, because the lazy-loading mechanism will load an additional loading of the entity B using the dataManager.See forum topics: this and this.
Sample project: loading-event-bug.zip
Consider fixing the issue in Jmix 1.x as well.
QA Notes:
Covered by autotests.
The text was updated successfully, but these errors were encountered: