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

Wrong notifications sent when saving documents from a script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M1
    • Fix Version/s: 1.5 M2
    • Component/s: {Unused} Core
    • Labels:
      None
    • Tests:
      Unit
    • Similar issues:

      Description

      Because the save() method from the document API uses clone(), which doesn't preserve the original document, so notifications are sent with a blank document as the initial version.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: