Uploaded image for project: 'Content IO'
  1. Content IO
  2. CONTENTIO-52

Unable to create a page due to SynchronizedRootContentHelper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.0
    • 3.0.0
    • None

      How to reproduce

      • Create a new page
      • Set a title, click next
      • Choose a service, click next
      • Select a tag and validate
      javax.jcr.nodetype.ConstraintViolationException: /ametys:root/ametys-internal:sites/45/7d/www/ametys-internal:sitemaps/fr/nouvelle-page: mandatory property {http://www.ametys.org/jcr/repository/internal/1.0}title does not exist
      	at org.apache.jackrabbit.core.ItemSaveOperation.validateTransientItems(ItemSaveOperation.java:537)
      	at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:216)
      	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.plugins.repository.jcr.SimpleAmetysObject.saveChanges(SimpleAmetysObject.java:240)
      	at org.ametys.plugins.contentio.synchronize.rights.SynchronizedRootContentHelper.getRootContent(SynchronizedRootContentHelper.java:92)
      	at org.ametys.plugins.contentio.synchronize.rights.SynchronizedContentAccessController.isSupported(SynchronizedContentAccessController.java:48)
      	at org.ametys.core.right.RightManager._getAccessResults(RightManager.java:520)
      	at org.ametys.core.right.RightManager._hasRightOrRead(RightManager.java:371)
      	at org.ametys.core.right.RightManager._hasRight(RightManager.java:342)
      	at org.ametys.core.right.RightManager.hasRight(RightManager.java:308)
      	at org.ametys.web.repository.page.PageDAO._canCreate(PageDAO.java:683)
      	at org.ametys.web.repository.page.PageDAO.createPage(PageDAO.java:408)
      

            sprieul Simon Prieul (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: