Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1483

StackOverflowError on more than one join (with patch)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 3.2.0
    • 4.0.0
    • None
    • Platform sprint 131

    Description

      Steps to reproduce:
      1. Create query below hippo:queries
      <sv:node sv:name="boog2" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
      <sv:property sv:name="jcr:primaryType" sv:type="Name">
      <sv:value>hippo:query</sv:value>
      </sv:property>
      <sv:property sv:name="jcr:language" sv:type="String">
      <sv:value>JCR-SQL2</sv:value>
      </sv:property>
      <sv:property sv:name="jcr:statement" sv:type="String">
      <sv:value>select f.* from [hippostd:folder] as f inner join [nt:version] as b on ISDESCENDANTNODE(f, b) inner join [nt:version] as c on ISDESCENDANTNODE(b, c)</sv:value>
      </sv:property>
      </sv:node>

      2. Execute it with the query manager. Result: StackOverflowError

      Patch for proposed fix attached

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              escitalopram Wolfgang Illmeyer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: