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

    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: