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

Performance issue/Regression caused by getDocument() cloning the document at each call

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1 M4
    • Fix Version/s: 1.1 RC1
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      Description

      In XWikiCacheStore, the document shouldn't be cloned since it's been retrieved from the hibernate store previously and thus the original document has been set (and since it's reset on save).

      Regression introduced in XWIKI-1518.

        Attachments

          Activity

            People

            • Assignee:
              ldubost@free.fr Ludovic Dubost
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: