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

XWiki#deleteDocumentVersions does not work when called from a different wiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 14.10.19
    • Old Core
    • None
    • Unknown

    Description

      To reproduce: in a script written on the main wiki, try to delete a version from a document located on a subwiki.

      The workaround is to switch the context to the wiki of the target document before calling XWiki#deleteDocumentVersions.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: