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

Selection of the creation restrictions locations for template providers is using document names, not titles

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.4.1
    • Fix Version/s: 8.4.3, 9.0-rc-1
    • Component/s: Administration
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      How to reproduce:

      • create a template provider on a wiki
      • in the "Creations restrictions" input, type "Home" (which is the default title of the Main space)
        • no suggestions are displayed, saving with this value will actually save "Home"
      • type "Main" instead, it will display suggestions and be used properly to restrict to "Main" space

      This is particularily confusing since, after saving, in view mode, the titles of the selected spaces are being displayed, not their names (e.g. see the screenshots from isue XWIKI-13908 ). Also, the other element in this form that allows to select locations, the visibility restrictions property, is proposing a selector based on document titles, not document names.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              lucaa Anca Luca
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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