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

Document extra tabs coming from UI extensions are broken

    XMLWordPrintable

Details

    • Unknown

    Description

      The tab is listed, but clicking it does not show the content.

      Par of the URL which is supposed to load the tab content is too escaped.

      Getting:

      http://127.0.0.1:8080/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=loaddocextrauix.vm%26uix%3Dreplication.docextra&language=

      instead of

      http://127.0.0.1:8080/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=loaddocextrauix.vm&uix=replication.docextra&language=

      This regression has been caused by https://github.com/xwiki/xwiki-platform/commit/5bc5c0debbe9f3f9ecf35fd7fe2dca6dc92bd18e#diff-3d837290c69d5d82a7b144fd0ca361c98157abbe632139fd28885f25efc593a5R215 which assumed the vm parameters was always a single value while the fact that it was not escaped was actually used as a feature...

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: