Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7773

Synchronization with live failed if the content contains a referenced on a non-validated content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M12
    • None
    • None
    • None

      Category:	org.ametys.web.synchronization.SynchronizeContentValidationObserver
      Message:		Unable to synchronize workspace with event: event[id: content.validated, issuer: UserIdentity [login=admin, population=ametys_demo_users], args: [content = '/ametys:plugins/ametys:contentio/ametys:contents/agent-abadie-marc-fr' (content://8c7ccf20-6cc7-40a7-a5d7-987434d12f7b)]]
      Location:	org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      javax.jcr.ReferentialIntegrityException: Target node fa66c175-5ec1-4f19-9a7d-ba7892097d9a of REFERENCE property does not exist
      	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.checkReferentialIntegrity(SharedItemStateManager.java:1139)
      	at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:598)
      	at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1511)
      	at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1541)
      	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:400)
      	at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354)
      	at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:375)
      	at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:275)
      	at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:258)
      	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)
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: