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

Livetable is always empty when using Documents macro with the Parent parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4, 7.1-milestone-1
    • Fix Version/s: 7.1-rc-1, 6.4.5
    • Component/s: None
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      Steps to reproduce:

      1. Create a new page
      2. Edit it in WYSIWYG and add a Documents macro
      3. Write "Sandbox.WebHome" in the Parent field
      4. Save & View

      The livetable is empty, even if TestPage1, 2 & 3 should be listed.

      The generated XWiki.LiveTableResults URL is

      http://localhost:8080/xwiki/bin/get/XWiki/LiveTableResults?outputSyntax=plain&transprefix=platform.index.&classname=&collist=doc.name%2Cdoc.space%2Cdoc.date%2Cdoc.author&queryFilters=currentlanguage%2Chidden&${extraParams}&parent=Sandbox.WebHome&offset=1&limit=15&reqNo=1&sort=doc.name&dir=asc

      with a "HTTP ERROR 500".

      The correct URL is

      http://localhost:8080/xwiki/bin/get/XWiki/LiveTableResults?outputSyntax=plain&transprefix=platform.index.&classname=&collist=doc.name%2Cdoc.space%2Cdoc.date%2Cdoc.author&queryFilters=currentlanguage%2Chidden&parent=Sandbox.WebHome&offset=1&limit=15&reqNo=1&sort=doc.name&dir=asc

      There's an extra

      &${extraParams}

      in the generated URL.

        Attachments

          Activity

            People

            • Assignee:
              msmeria Manuel Smeria
              Reporter:
              msmeria Manuel Smeria
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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