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

XWikiDocument archive related methods should not try to access the database if the document does not come from it

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.4-rc-1
    • Component/s: Old Core
    • Labels:
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      XWikiDocument#loadArchive always load the archive from the DB but this does not always make sense. For example the XWikiDocument instance could be extracted from a XAR in which case it does not make any sense.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atallahade Adel Atallah
                Reporter:
                atallahade Adel Atallah
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: