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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1-rc-1, 6.4.5
    • 6.4, 7.1-milestone-1
    • Index
    • None
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    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

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

            Dates

              Created:
              Updated:
              Resolved: