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

rename and copyDocument api do not set the version number properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 M4
    • Fix Version/s: 1.1 RC1
    • Component/s: Storage
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: