I'm currently working on a configuration which can copy an existing configuration recursively using Groovy.
Here is my code:
def newConf = system.configurationManager.copyAsNew(sourceConf, true);
when executing the configuration, I got this error:
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.pmease.quickbuild.model.Configuration.children, no session or session was closed
Thanks for your help, and regards,
Emna