Michiel Eggermont pushed to branch feature/projectdocs at cms-community / hippo-repository
Commits: bb1865b5 by Michiel Eggermont at 2017-10-18T16:19:27+02:00 REPO-1861 Save session only for WorkflowContextAware instances - - - - - 1 changed file: - engine/src/main/java/org/hippoecm/repository/impl/WorkflowManagerImpl.java Changes: ===================================== engine/src/main/java/org/hippoecm/repository/impl/WorkflowManagerImpl.java ===================================== --- a/engine/src/main/java/org/hippoecm/repository/impl/WorkflowManagerImpl.java +++ b/engine/src/main/java/org/hippoecm/repository/impl/WorkflowManagerImpl.java @@ -347,7 +347,7 @@ public class WorkflowManagerImpl implements WorkflowManager { this.upstream = upstream; this.subjectId = subject.getIdentifier(); this.subjectPath = subject.getPath(); - this.objectPersist = upstream instanceof WorkflowImpl; + this.objectPersist = upstream instanceof WorkflowContextAware; } public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { View it on GitLab: https://code.onehippo.org/cms-community/hippo-repository/commit/bb1865b5d20de348280cb07bf0b7c3df6ef15045 --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-repository/commit/bb1865b5d20de348280cb07bf0b7c3df6ef15045 You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn