Uploaded image for project: 'i2b2 Web Client'
  1. i2b2 Web Client
  2. WEBCLIENT-230

Date constraint window doesn't close if table name is undefined

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.10
    • Web Client
    • Constraints - Date

    Description

      Occasionally the date constraint window doesn't close when a user clicks on the OK button in the dialog.

      The following is from Andrew Vallejos:

      After looking around the code I found the error occured around line 435 of CRC_ctrlr_Dates.js. For some reason the table_name is sometimes undefined, which causes the javascript to error. I did a small workaround by checking to make sure table_name is defined.
       
         if(typeof(table_name) != "undefined" && table_name.toLowerCase() == 'patient_dimension'){
       
      That seemed to solve the problem. Any ideas why sometimes the table_name would sometimes be undefined?

      Attachments

        Activity

          People

            mem61 Mike Mendis
            jmd86 Janice Donahoe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: