Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-206

Query failing to time out into processing queue

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.07
    • 1.7.08
    • CRC Cell
    • None
    • Query Tool
    • Queries, Queries - Large
    • i2b2 Core

    Description

      Long queries are not timing out properly with an alert box. They just apparently go on forever in the client, although they've really moved to processing in the back-end. Following the suggestion in this thread https://groups.google.com/forum/#!topic/i2b2-install-help/mzSI5hgeiO4 I was able to find the error:

      js-i2b2/cells/CRC/CRC_ctrlr_QryStatus.js:570 Uncaught TypeError: Cannot read property 'firstChild' of undefined

      The end_date is null. I worked around it by changing the line to:
      var endDateResult = i2b2.h.XPath(temp, 'descendant-or-self::end_date');
      if(endDateResult && endDateResult.length > 0)
           self.QI.end_date = endDateResult[0].firstChild.nodeValue; //Query Report BG

      I would submit a patch but don't know enough about i2b2 to know if that's just a hack, if a null end_date is unexpected, or if you would rather apply a better check to all the query properties in that function.

      Attachments

        Activity

          zabeus Joseph Applegate created issue -
          jmd86 Janice Donahoe made changes -
          Field Original Value New Value
          Fix Version/s 1.7.08 [ 10204 ]
          Assignee Mike Mendis [ mem61 ]
          i2b2 Feature/s Queries [ 10081 ] Queries,Queries - Large [ 10081, 10086 ]
          i2b2 Sponsored Project/s i2b2 Core [ 10196 ]
          Status New [ 10000 ] Open [ 1 ]
          jmd86 Janice Donahoe made changes -
          Sprint Sprint 1 [ 5 ]
          jmd86 Janice Donahoe made changes -
          Rank Ranked higher
          mem61 Mike Mendis made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          mem61 Mike Mendis made changes -
          Assignee Mike Mendis [ mem61 ] Janice Donahoe [ jmd86 ]
          Status In Progress [ 3 ] Ready to Test [ 10001 ]
          jmd86 Janice Donahoe made changes -
          Status Ready to Test [ 10001 ] Testing [ 10002 ]
          jmd86 Janice Donahoe made changes -
          Resolution Fixed [ 1 ]
          Status Testing [ 10002 ] Resolved [ 5 ]
          This change was included in version 1.7.08, which was released on 10/07/2016.
          jmd86 Janice Donahoe added a comment - This change was included in version 1.7.08, which was released on 10/07/2016.
          jmd86 Janice Donahoe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          jmd86 Janice Donahoe made changes -
          Sprint 1.7.09 Release [ 5 ]

          People

            jmd86 Janice Donahoe
            zabeus Joseph Applegate
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: