When I try to set a list attribute on a detached object, the Exception <com.haulmont.cuba.core.global.IllegalEntityStateException: Cannot get unfetched attribute [pages] from detached object…> occurs.
How can I get a managed object on controller context?
Thank you!