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

Flavors list retrieval doesn't work along with shortUrls

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.9
    • Fix Version/s: 10.7-rc-1, 9.11.8
    • Component/s: Flavor
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      We have a running Xwiki 9.9 instance and followed the guide at :

      http://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/ShortURLs/

      To get rid of the xwiki/bin/view parts.
      It works as expected until you try to create a new wiki, because the flavors are then retrieved with /resources/uicomponents/flavor/?xpage=flavor/picker_flavors&namespace=wiki%3Asubwiki

      Where resources was configured with Url Rewrite Filter to be served as static, where it shouldn't be.

      Basically it means that with the Short Urls guide above fully applied, one would no be able to select a flavor when requesting a new wiki.

      Additional notes from Thomas:

      the flavor picker can probably be refactored to use the REST API now instead of a custom hack like it does now

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                mh Martin
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

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