Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-4089

testExecWithTestRunsAssignedToUser JQL function may cause an SQL exception

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • R3.3.7
    • 4.1.0
    • None
    • None
    • XRAY 2021 Sprint 4
    • UNCOVERED

    Description

      testExecWithTestRunsAssignedToUser JQL function may cause an SQL exception:

      /secure/QueryComponent!Jql.jspa [c.x.r.dao.impl.DAOContextImpl] Error executing SQL select statement
      org.postgresql.util.PSQLException: ERROR: missing FROM-clause entry for table "tr"
      Position: 435
      at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2455)
      at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2155)
      at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:288)
      at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:430)
      at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:356)
      at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:168)
      at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:116)
      at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
      at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
      at com.xpandit.raven.dao.impl.DAOContextImpl.a(Unknown Source)
      at com.xpandit.raven.dao.impl.DAOContextImpl.a(Unknown Source)
      at com.xpandit.raven.dao.impl.DAOContextImpl.a(Unknown Source)
      at com.xpandit.raven.dao.impl.TestRunDAOImpl.a(Unknown Source)
      at com.xpandit.raven.jqlfunc.TestExecWithTestRunsAssignedToUserFunction.getValues(Unknown Source)

      Attachments

        Issue Links

          Activity

            People

              hslb Hugo Braz [X] (Inactive)
              cgso Claudio Sousa
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: