Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-840

Impossible de restaurer une formation contenant des parcours

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.2, 2.3.0
    • None
    • None
    • None

      Il semble que la restauration d'une formation échoue dès lors que celle-ci contient un sous contenu (parcours) avec une exception JCR "Node is protected"

      Caused by: org.ametys.plugins.repository.AmetysRepositoryException: Unable to restore from revision: 1.9
      	at org.ametys.plugins.repository.jcr.DefaultAmetysObject.restoreFromRevision(DefaultAmetysObject.java:204)
      	at org.ametys.cms.workflow.RestoreRevisionFunction.execute(RestoreRevisionFunction.java:84)
      ....
      
      Caused by: javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
      	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:276)
      	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)
      	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:278)
      	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:780)
      

            ngavalda Nicolas Gavalda (Inactive)
            laurence Laurence Aumeunier
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: