Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7070

rep:excerpt selector broken as regression of OAK-6750

    XMLWordPrintableJSON

Details

    Description

      The change made here:
      https://github.com/apache/jackrabbit-oak/commit/00c94b71293abcae6d76bb162c3f55c7d09b702e#diff-d4bdf443c61f24b634f33aab607e2114

      breaks the logic in line 676:

      else if (oakPropertyName.equals(QueryConstants.REP_EXCERPT + "("))

      This statement doesn't make much sense considering a query like select [rep:excerpt] from [test:Page] as page where contains(*, 'term*') or even select [rep:excerpt(text)] from [test:Page] as page where contains(page.[text], 'term*')

      Attachments

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              diru Dirk Rudolph
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: