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

Result columns for query that aliases source don't have alias as part of the column name (TCK failure)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.0.0.Beta4
    • 3.0.0.Beta2
    • JCR, Query

      The JCR TCK test org.apache.jackrabbit.test.api.query.qom.ColumnTest#testExpandColumnsForNodeType method performs this query:

      SELECT s.* FROM [nt:unstructured] AS s
      

      and then attempts to check that the results include columns for each non-residual and single-valued property definition. "jcr:primaryType" is one such single-valued and non-residual property definition, but the test expects the column name to include the source and be named "s.jcr:primaryType" even though the query includes just a single source.

      (This was not found earlier because the test was excluded due to JCR-3313; see MODE-1396.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: