-
Bug
-
Resolution: Fixed
-
Critical
-
3.0.0
-
None
2 JCR sessions are working concurrently on the same node
/home/cms/Ametys_CMS/ametys_cms_home/logs/ametys-cms-2016-11-09.log <== 2016-11-09 08:07:26,671 ERROR [org.ametys.web.synchronization.SynchronizeContentValidationObserver] (AmetysRuntimeScheduler_Worker-1;) Unable to synchronize workspace with event: event[id: content.validated, issuer: UserIdentity [login=system-user, population=admin_population], args: [content = '/ametys:plugins/ametys:contentio/ametys:contents/people-gavory-en' (content://604a4521-b863-4912-9c4e-401e6c7ab82a)]] javax.jcr.InvalidItemStateException: property /ametys:root/ametys:plugins/ametys:contentio/ametys:contents/30/92/people-gavory-en/ametys-internal:currentStepId: the property cannot be saved because it has been modified externally. at org.apache.jackrabbit.core.PropertyImpl.makePersistent(PropertyImpl.java:161) at org.apache.jackrabbit.core.ItemSaveOperation.persistTransientItems(ItemSaveOperation.java:849) at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:243) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329) at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:812) at org.ametys.web.synchronization.SynchronizeContentValidationObserver._internalObserve(SynchronizeContentValidationObserver.java:87) at org.ametys.web.synchronization.AbstractSynchronizeObserver.observe(AbstractSynchronizeObserver.java:88) at org.ametys.core.observation.ObservationManager._observesEvent(ObservationManager.java:202) at org.ametys.core.observation.ObservationManager.notify(ObservationManager.java:146) at org.ametys.plugins.contentio.synchronize.workflow.ValidateSynchronizedContentFunction._notifyObservers(ValidateSynchronizedContentFunction.java:104) at org.ametys.plugins.contentio.synchronize.workflow.ValidateSynchronizedContentFunction.execute(ValidateSynchronizedContentFunction.java:90) at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:177) at com.sun.proxy.$Proxy34.execute(Unknown Source) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:871) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1275) at org.ametys.plugins.workflow.AbstractAmetysWorkflow.transitionWorkflow(AbstractAmetysWorkflow.java:209) at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:567) at org.ametys.plugins.workflow.AbstractAmetysWorkflow.doAction(AbstractAmetysWorkflow.java:164) at
- depends on
-
CMS-7769 The JCR listener LiveWorkspaceListener shoud not synchronize contents nor properties of content
- Closed