Uploaded image for project: 'Farm Tools'
  1. Farm Tools
  2. FARMTOOLS-19

Rewrite the default language setter to remove the need to call flushCache

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 2.6
    • Farm updater
    • None
    • Unknown

    Description

      The default language updater script uses protected API and it calls flushCache() in order to cleanup the mess it may have set.

      In recent versions of XWiki, flushCache triggers a reinitialisation of the wikis on next access after a flushCache, and this can be bothering.

      Also, in recent versions (XWIKI-15159), a public API to set the default language of a document was added, and we should update this script to use that, there is no need to continue using protected API.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: