Detached entity and Many to Many relationship

I’m having trouble with detached entities and how to solve, I have and entity with a many to many relationship to another. When I pull reports I get a detached error on these attributes (see first image below)


If I change the fetch plan to instance name I get a indirectList: not instantiated not support, can someone please help me move in the right direction.


Please explain the problem in more detail:

  • Jmix version
  • Exception stacktrace
  • How do you load and access the entity
  • Code of entities - class definitions and relation attributes