Dans certains cas, la synchronisation d'une formation donne un bug :
org.ametys.plugins.repository.AmetysRepositoryException: Unable to unlock content at org.ametys.plugins.repository.jcr.DefaultAmetysObject.unlock(DefaultAmetysObject.java:447) at org.ametys.odf.program.actions.SynchronizeProgramAction.act(SynchronizeProgramAction.java:162) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:193) at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111) ... 79 more Caused by: javax.jcr.InvalidItemStateException: Unable to perform operation. Session has pending changes. at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:293) at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:274) at org.apache.jackrabbit.core.lock.SessionLockManager.unlock(SessionLockManager.java:174) at org.apache.jackrabbit.core.NodeImpl.unlock(NodeImpl.java:4680) at org.ametys.plugins.repository.jcr.DefaultAmetysObject.unlock(DefaultAmetysObject.java:436) ... 91 more