NXP-3529 introduced org.nuxeo.ecm.core.strictlazyloading to prevent from automatically re-attaching a detached document when using DocumentModel APIs that doing lazy loading (datamodel, system property, lock, acl, lifecycle).
This means that we re-create temporary sessions at code locations not well determined, which prevents good analysis of session usage.
—> prevent automatic reconnect of a DocumentModel. A DocumentModel should be either used in the context where its session is still open, or it should be explicitly detached.
- is duplicated by
-
NXP-21332 Clean up use of DocumentModelImpl RunWithCoreSession
- Resolved