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

REST query API does not support XWQL requests manipulating xobjects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 8.3-milestone-1
    • 7.4.2
    • REST
    • XWiki 7.4.2, Debian Jessie, PostgreSQL, Tomcat 8, Openjre 8
    • Unknown
    • N/A
    • N/A

    Description

      I have been trying to use XWQL with REST as per the following thread:
      http://xwiki.475771.n2.nabble.com/REST-API-ignores-type-parameter-td7599586.html

      As per the concluding comment from Marius:
      You are not allowed to use full statements
      (i.e. that start with 'select'). You have to use instead:

      , <additional FROM clause> where ...

      or

      where ...

      Unfortunately using a short query is not enough for XWQL. It seems the code
      doesn't do anything special for XWQL query type and it treats it as HQL. So
      for now you'll have to rely on HQL.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            marksack marksack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: