Details

      Description

      Data for user and group site is corrupted, the nodes with path like:

      /production/mop:workspace/mop:usersites/mop:demo/mop:rootpage/mop:children/mop:templates/mop:children/mop:default/mop:rootcomponent

      The mop:rootcomponent has the attribute autocreated=true.

      WCM adds a mixin on this node with an action and the mixin added is not saved entirely:

      1/ mixin properties are saved
      2/ the fact that the node does not have the mixin is not saved

      When the node properties are iterated, the node load fails with an exception like:

      Caused by: javax.jcr.nodetype.ConstraintViolationException: Definition for property /production/mop:workspace/mop:usersites/mop:bilto/mop:rootpage/mop:children/mop:templates/mop:children/mop:default/mop:rootcomponent/exo:lastModifiedDate not found.
      at org.exoplatform.services.jcr.impl.core.PropertyImpl.initDefinitions(PropertyImpl.java:368)
      at org.exoplatform.services.jcr.impl.core.PropertyImpl.loadData(PropertyImpl.java:125)
      at org.exoplatform.services.jcr.impl.core.PropertyImpl.<init>(PropertyImpl.java:97)
      at org.exoplatform.services.jcr.impl.core.SessionDataManager$SessionItemFactory.createProperty(SessionDataManager.java:2244)
      at org.exoplatform.services.jcr.impl.core.SessionDataManager$SessionItemFactory.createItem(SessionDataManager.java:2199)
      at org.exoplatform.services.jcr.impl.core.SessionDataManager$SessionItemFactory.access$100(SessionDataManager.java:2174)
      at org.exoplatform.services.jcr.impl.core.SessionDataManager$ItemReferencePool.get(SessionDataManager.java:2036)
      at org.exoplatform.services.jcr.impl.core.SessionDataManager.readItem(SessionDataManager.java:402)
      at org.exoplatform.services.jcr.impl.core.NodeImpl.getProperties(NodeImpl.java:1098)

      There are two ways to reproduce it with WCM 2.0 community

      1/ delete an user with the user management portlet
      2/ use CRaSH and make an "ls" on the path of the node

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sergiykarpenko Sergiy Karpenko (Inactive)
                  Reporter:
                  julien_viet Julien Viet
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 6 hours Original Estimate - 6 hours
                    6h
                    Remaining:
                    Time Spent - 2 days, 6 hours Remaining Estimate - 3 days, 2 hours
                    3d 2h
                    Logged:
                    Time Spent - 2 days, 6 hours Remaining Estimate - 3 days, 2 hours
                    2d 6h