Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-557

OPTION_QUERY_SQL_SUPPORTED Reposiotry descriptor not checked for SQL testcases in query package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • test
    • None

    Description

      For the SQL tests in the query package, the OPTION_QUERY_SQL_SUPPORTED repository descriptor should be verified to return "true" prior to running SQL testcases, and should throw an NotExecutableException if not.

      This bug causes the following (19) testcases to fail:

      SQLOrderByTest.testOrderByAscending()
      SQLOrderByTest.testOrderByDefault()
      SQLOrderByTest.testOrderByDescending()

      SQLJoinTest.testJoin()
      SQLJoinTest.testJoinFilterPrimaryType()
      SQLJoinTest.testJoinNtBase()
      SQLJoinTest.testJoinSNS()

      SQLJcrPathTest.testJcrPath()

      SQLPathTest.testChildAxisLeaf()
      SQLPathTest.testChildAxisRoot()
      SQLPathTest.testChildAxisTestRoot()
      SQLPathTest.testDescendantLeaf()
      SQLPathTest.testDescendantSelfTestRoot()
      SQLPathTest.testDescendantTestRoot()

      SQLQueryLevel2Test.testFullTextSearch()
      SQLQueryLevel2Test.testMultiValueSearch()
      SQLQueryLevel2Test.testPathColumn()
      SQLQueryLevel2Test.testRange()
      SQLQueryLevel2Test.testScoreColumn()

      Attachments

        Activity

          People

            Unassigned Unassigned
            stopponi Melissa Stopponi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: