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

Time of creation should be set automatically when adding new nodes

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD