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

The update object property REST endpoint is modifying the cached document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 17.2.0-rc-1
    • 16.10.3
    • REST
    • None
    • Unknown
    • N/A
    • N/A

    Description

      ObjectPropertyResourceImpl#updateObjectProperty is directly modifying the XWikiDocument from the cache (catched by XWIKI-22891), potentially causing various problems with other threads manipulating the same document during that time.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: