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

If first batch of results for the navigation tree is empty the rest is not shown when clicking on "more ..."

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 11.10.2
    • Tree
    • None
    • Unknown

    Description

      Use case where it has been observed:

      Installation with several ( > 20) subwikis. Users are defined in the main wiki and have view access to the main wiki and only one subwiki.

      For some users, viewing the XWiki.DocumentTree the Wiki tree example shows no wikis but only a "N more ..." link. When clicking this link, the link disappears without showing any results.

      In the browser console one can indeed see that the first batch of wikis is empty, and the second batch contains the two wikis they have access to. (This only happens if the user have no access to all the wikis returned in the first batch, so these all get filtered out due to missing view rights.) The contents of the second batch are not displayed.

      The issue likely shows up for other entities to be listed; I only tested the wiki case so far.

      It helps to manually edit the XWiki.DocumentTreeMacos and set the default value for $limit to 2 to reproduce the issue (less test content to set up).

      Attachments

        Activity

          People

            Unassigned Unassigned
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: