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

rename and copyDocument api do not set the version number properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1 RC1
    • 1.1 M4
    • Storage
    • None

    Description

      When a document is copied (or rename which calls copy) the document version is set to 1.2 while the archive only has version 1.1. The numbers are not in sync anymore.
      We need to unset ContentDirty and MetaDataDirty so that no version increment is done.

      Attachments

        Activity

          People

            ludovic Ludovic Dubost
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: