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

Add atomic store API for document renames

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.4.3
    • Fix Version/s: 12.5-rc-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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" renamed 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

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

                Dates

                • Created:
                  Updated: