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

Add atomic store API for document renames

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 12.5-rc-1
    • 8.4.3
    • Old Core
    • Unit, Integration
    • Unknown
    • N/A

    Description

      Currently rename action is actually doing a copy and then a deleted.

      This is slow and causes various issues. The idea would be to make the rename part of the store API and do "real" renames which for hibernate for example means directly modify the database to reflect the changed required to rename a document instead of loading the document, copy it and then delete the old one. Also all this would be done in a proper session which is a lot safer.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: