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

Wiki descriptors retrieved from the cache are the internal references

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0
    • 6.4-milestone-1
    • Wiki
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      This means that any modification on the returned instances will immediately be reflected in the running instance (wiki pretty name change, owner change, etc), even if the descriptor's document is not actually saved.
      Example:

      $services.wiki.getById('xwiki').setOwnerId('xwiki:XWiki.h4x0r')
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: