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

The "Help - Support" panel isn't correctly rendered in a closed wiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 10.11.1, 11.0
    • 10.10, 10.11
    • Panels
    • XWiki Debian 10.10 + PostgreSQL
      XWiki Debian 10.11 + PostgreSQL
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce :

      • In a fresh wiki, require every user to authenticate to access the pages ("closed wiki" mode)

      Expected : The support panel works fine

      Actual : The support panel looks like this :

      Detailed error message :

      org.xwiki.rendering.macro.MacroExecutionException: Current user [null] doesn't have view rights on document [Document xwiki:Help.SupportPanel.Content]
      	at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:175)
      	at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:61)
      	at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:297)
      	at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
      	at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:101)
      	at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.transform(AbstractBlockAsyncRenderer.java:76)
      	at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.lambda$transform$0(AbstractBlockAsyncRenderer.java:64)
      	at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
      	at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.transform(AbstractBlockAsyncRenderer.java:63)
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.tranform(DefaultBlockAsyncRenderer.java:156)
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.render(DefaultBlockAsyncRenderer.java:123)
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.render(DefaultBlockAsyncRenderer.java:51)
      	at org.xwiki.panels.internal.PanelWikiUIExtension.render(PanelWikiUIExtension.java:131)
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor$DecoratorWrapper.render(DefaultBlockAsyncRendererExecutor.java:67)
      	at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor$DecoratorWrapper.render(DefaultBlockAsyncRendererExecutor.java:49)
      	at org.xwiki.rendering.async.internal.AsyncRendererJob.runInternal(AsyncRendererJob.java:90)
      	at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:236)
      	at org.xwiki.job.AbstractJob.run(AbstractJob.java:213)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: