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

Inconsistent display of locations between the add filter dialog and the custom filters table (page title vs page name)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 13.4, 13.10
    • Notifications
    • None
    • Unknown

    Description

      How to reproduce:

      • create a page with a title that is fairly different from its name
        • for this example, I created a page with title "Title of the page" and name "Name-of-the-page"
      • go to the user profile, in the "Custom filters" table, and add a new filter by clicking the button "Add filter"
      • In the location selection, a page tree is displayed, the page is displayed as "Title of the page":
      • configure the filter - the other configs don't matter, save

      Expected result:

      • in the custom filters table, for this newly created filter the displayed location corresponds to what I have chosen in the location selector in the add filters dialog

      Actual result:

      • in the custom filters table, the location of the newly created filter displays the name of the page, not its title, different from what I have seen in the page tree when I selected the location in the add filter dialog:

      Note: it's not clear to me whether it's best to display always titles or always page names, but they should be consistent (this issue is about consistency, not about what should be displayed). As everywhere on XWiki, titles everywhere is probably more coherent, but if there is a good reason to use names instead, it should at least be consistent.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: