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

Missing error handling of missing pages and templates for the liveTable Live Data source

    XMLWordPrintable

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      livedata-livetable should depend on xwiki-platform-livetable-ui
      Otherwise, when calling the `/entries` rest endpoint with the default configuration, the XWiki.LiveTableResults document is not found.

      This dependency could be made optional to let admin uninstall if its not needed in practice.

      Also, we should check for the presence of the document before rendering it (same for template) and return a more relevant error message when its missing.

        Attachments

          Activity

            People

            Assignee:
            mleduc Manuel Leduc
            Reporter:
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: