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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 8.4.3, 9.0-rc-1
    • 8.4.1
    • Administration
    • None
    • Unknown

    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

        1. templateProvider-edit.png
          102 kB
          Marius Dumitru Florea
        2. templateProvider-view.png
          57 kB
          Marius Dumitru Florea

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: