Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.4
    • Fix Version/s: 6.0, 5.4.5
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      On the Query Module documentation page the first example you see is:

      Query Description XWQL HQL
      Query listing all documents <empty query> <empty query>

      It doesn't work! Try this:

      {{velocity}}
      $services.query.hql('').setLimit(10).execute()
      {{/velocity}}
      

      You'll get:

      Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree []
      

      The XWQL empty query works.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: