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

Save dirty attachments contents when saving the document

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • None
    • 2.3 M1
    • Model
    • None

    Description

      The goal is to:

      • save attachment contents marked dirty during XWiki(Hibernate|Jcr)Store#saveXWikiDoc()
      • optimize XWiki(Hibernate|Jcr)AttachmentStore#saveAttachmentContent() to only save contents when dirty
      • remove call to XWikiDocument#saveAllAttachements() that becames uneeded

      See this thread for details and vote: http://markmail.org/thread/4kfxallt3dyorezr

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: