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

The list of always used extensions on a wiki is not properly updated when a doc is saved with programming rights

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.2 M3
    • Fix Version/s: 4.1-milestone-1, 4.0.1
    • Component/s: Skin - Skinx
    • Labels:
      None
    • keywords:
      regression
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Skin extensions that have use = "always on this wiki" need programming rights in order to be actually used.

      The following scenario used to work and it doesn't anymore:

      • Import a page with a ssx with use "always on this wiki", with an author which doesn't have programming rights (so the extension will not be pulled)
      • Save the page with a user that has programming rights, in order to make it work. Make sure to not change anything at all in the document, just edit and save without touching it
      • The ssx will still not be pulled as always used extension until the next restart of the wiki.

      This is caused by a cache for the always used extensions per wiki, which is no longer properly updated when a document changes only author, since the modifications for XWIKI-6906.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              lucaa Anca Luca
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: