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

In multiwiki mode, class documents are randomly overwritten by empty docs in the cache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • 3.5.1
    • Old Core
    • Unknown
    • N/A
    • N/A

    Description

      I noticed this on a farm where copyDocument was randomly skipping class documents when creating a new wiki from a template wiki.
      The reason copyDocument was skipping is because sourceDoc.isNew() is returning 'true', even if the document is present in the database.

      When creating multiple wikis in a row:

      • the first wiki is always correctly created: it contains all the documents from the template
      • the following wikis are missing a couple of classes, but never the same classes

      Attachments

        Issue Links

          Activity

            People

              jvdrean Jean-Vincent Drean
              jvdrean Jean-Vincent Drean
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: