Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2499

Executing queries from ModeShape Explorer doesn't validate dialects

XMLWordPrintable

    • Hide

      1. execute a valid JCR-SQL2 query on a repository which has data. For example: select node.[jcr:name] from [nt:unstructured] as node
      2. change the type of the query language to xpath
      3. execute the same query again
      4. no results are returned, although the query string is not a valid xpath query. In this case the Explorer should present an exception.

      Show
      1. execute a valid JCR-SQL2 query on a repository which has data. For example: select node.[jcr:name] from [nt:unstructured] as node 2. change the type of the query language to xpath 3. execute the same query again 4. no results are returned, although the query string is not a valid xpath query. In this case the Explorer should present an exception.

      When executing queries from ModeShape Explorer, the default dialect is JCR-SQL2. This works fine for a valid JCR-SQL2 query string. However, if after executing a JCR-SQL2 query the type of the query is changed from the drop-down and the same JCR-SQL2 string is run, the Explorer doesn't validate that the query string is actually a valid dialect.

              oleg.kulikov Oleg Kulikov (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: