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

Attachment metadata dirty flag is not always taken into account when saving attachment metadata

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      To be consistent with document behavior, things like the incrementation and date update should only occur if the metadata dirty flag is true.

      A possible workaround is to produce an attachment Archive with the version we want to save already in it and set it in the XWikiAttachment before the save.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: