Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-795

Creating and modifying nodes with 'mix:created' or 'mix:lastModified' should set protected properties

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Critical Critical
    • 2.0.0.Final
    • 1.2.0.Final
    • JCR
    • None

      When a node is changed to add the 'mix:created' mixin (or created with a primary node type that extends that mixin), the 'jcr:created' and 'jcr:createdBy' properties defined by that mixin should be automatically set. See Section 3.7.11.7 of the JCR 2.0 specification.

      Similarly, when a node is modified 'significantly' (e.g., added/moved/removed children, added/changed/removed properties) and it is of the 'mix:lastModified' mixin, it's 'jcr:lastModified' and 'jcr:lastModifiedBy' properties need to be changed. See section 3.7.11.8 of the spec.

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: