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

Wrong notifications sent when saving documents from a script

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.5 M2
    • 1.5 M1
    • {Unused} Core
    • None
    • Unit

    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

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

              Dates

                Created:
                Updated:
                Resolved: