Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5625

Time of creation should be set automatically when adding new nodes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 5.2.2
    • None
    • core
    • Yes

      The mgnl:created mixin defines a property mgnl:created which contains the time when the node was created. It needs to be set explicitly which is currently done in the content api, by JcrNewNodeAdapter and in AddNodeAction.

      A better solution would be to add this automatically whenever a new node is created. We have this in place for the mgnl:lastModified mixins.

      We should extend the LastUpdateContentDecorator to also manage creation date. It should also be renamed to match its new scope of responsibility.

        Acceptance criteria

              dlipp Daniel Lipp
              tmattsson Tobias Mattsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD