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

Provide XObjectAddingEvent

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 12.10.7
    • Model
    • None
    • Unknown

    Description

      Right now we only trigger XObjectAddedEvent when the document is saved, but that could lead to problem if a listener try to perform a save and the event has been sent during a document creation. An example of such bug was XWIKI-18728. In order to avoid such usecase we should provide an XObjectAddingEvent to allow modifying the document before it's saved in the listener.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: