Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1759

Document copy with reset creation data does not reset update date neither content update date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 1.2 M1
    • Fix Version/s: 1.1.2, 1.2 M2
    • Component/s: {Unused} Core
    • Labels:
      None
    • keywords:
      copy document, creation data
    • Similar issues:

      Description

      When copying a document with the resetCreationData set to true, only the creationDate, author and creator are actually reset.
      contentUpdateDate and UpdateDate should also be reset, as if the document was new.

        Attachments

        1. resetCreationData-branch1.1.patch
          0.7 kB
          Jerome Velociter
        2. resetCreationData-trunk.patch
          0.6 kB
          Jerome Velociter

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            jerome Jerome Velociter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: