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

getdocuments.vm shows translation pages when sorting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.10.13, 12.10.8, 13.5-rc-1, 13.4.1
    • None
    • Windows 10, IE 11 and Chrome 91
    • Unknown

    Description

      Steps to reproduce:

      1. Access a page that has translations eg. Sandbox (can be unregistered user, admin or simple user)
      2. Click on More Actions > Children 
      3. Observe the listed results in the table and the number of results shown on top 
      4. Sort the table by the Title column 
      5. Sort the table by the Date column 

      Expected results: The results shown in the table match with the number shown on top. The pages shown as result are only in the selected language of the wiki.

      Actual results: The number of results shown on top isn't matching with the results shown in the table. When sorting by Title or by Date the pages that have other translations (then EN in this case) are shown.

       

      The same is true for other tables relying on getdocument.vm, such as the list of affected pages when deleting a page.

       

      Environment: Windows 10, XWiki 13.4.1 and 13.5 RC1 with MySQL 8.0 and IE 11, Chrome 91

      Attachments

        1. Children.jpg
          Children.jpg
          115 kB
        2. Result.jpg
          Result.jpg
          73 kB
        3. SortDate.jpg
          SortDate.jpg
          93 kB
        4. SortTitle.jpg
          SortTitle.jpg
          156 kB

        Activity

          People

            Unassigned Unassigned
            ganechitoaei Gabriela Anechitoaei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: