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

BaseProperty#setOwnerDocument sets the content as dirty when updating a property

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The method

      public void setOwnerDocument(XWikiDocument ownerDocument)
          {
              this.ownerDocument = ownerDocument;
              if (ownerDocument != null && isValueDirty) {
                  ownerDocument.setContentDirty(true);
              }
          }
      

      from "BaseProperty.java" marks the content as dirty even though you only update a property.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              raluca.moisa Raluca Moisa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: