Uploaded image for project: 'Playground'
  1. Playground
  2. PLAY-89

Fix query runner is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: Resources Endpoint
    • Tags:
    • Sprint:
      nxGang Sprint 8.3.4, nxGang Sprint 8.3.5
    • Story Points:
      2

      Description

      1. go to http://nuxeo.github.io/api-playground/#/resources/query/1/GET
      2. copy paste this query
        SELECT * FROM Document WHERE ecm:path STARTSWITH '/default-domain/sections/Locations & Contacts'
        

      This gives an error like

      {"entity-type":"exception","code":"org.nuxeo.ecm.webengine.WebException","status":400,"message":"Failed to execute query: SELECT * FROM Document WHERE ecm:path STARTSWITH '/default-domain/sections/Locations, Syntax error: Invalid token <null> at offset -1"}
      

      Nonetheless the following link works fine:
      http://nuxeo.github.io/api-playground/#/commands/Repository.Query

      using the following query:

      SELECT * FROM Document WHERE ecm:path STARTSWITH '/default-domain/sections/Locations & Contacts'
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 4 hours
                4h