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

A large number of results when searching by name hangs the webclient

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.12
    • None
    • None
    • The webclient/JBoss server runs CentOS release 6.6, 8G RAM, PostgreSQL. We've seen the issue with various client computers/browsers.
    • Deferred
    • Find Terms
    • Find by Name
    • i2b2 Web Client
    • PostgreSQL
    • I presume all databases are affected, though we only have PostgreSQL to try.
    • Chrome, Firefox
    • Hide
      I am able to reproduce some of this issue but I'm not able to reproduce the hanging and this may be due to the fact that I am testing with demo data. Here is what I can reproduce in the demo and testing environments.

      1. The exceed limit warning is appearing more than once (I was only able to get it to appear two times.

      2. The second warning is a newer warning in which an additional prompt is added to the bottom of the message that allows users to check it off to prevent additional windows from popping up.

      3. Sometimes when you check this new prompt preventing additional pop-ups the Web Client will crash (completely close the Web Client). This one is harder to reproduce.

      The above issues where found using Chrome. Additional testing would be needed on the other browsers to find any other issues.

      Also, in the demo data you can use Diabetes as Aspirin has less than 200. The other option is to lower the count to 20. This will force the warning message.
      Show
      I am able to reproduce some of this issue but I'm not able to reproduce the hanging and this may be due to the fact that I am testing with demo data. Here is what I can reproduce in the demo and testing environments. 1. The exceed limit warning is appearing more than once (I was only able to get it to appear two times. 2. The second warning is a newer warning in which an additional prompt is added to the bottom of the message that allows users to check it off to prevent additional windows from popping up. 3. Sometimes when you check this new prompt preventing additional pop-ups the Web Client will crash (completely close the Web Client). This one is harder to reproduce. The above issues where found using Chrome. Additional testing would be needed on the other browsers to find any other issues. Also, in the demo data you can use Diabetes as Aspirin has less than 200. The other option is to lower the count to 20. This will force the warning message.

    Description

      Babel (https://babel.gpcnetwork.org/) is an installation of i2b2 we use to load terms from all GPC sites so members can see what other sites have in their i2b2.

      One of the more important features is the ability to search for terms across all sites. Unfortunately, searching for something with a large number of results ends up freezing the client browser.

      We have 13,197,373 rows in the various metadata tables.

      Reproduction steps:
      * Click the "Find" tab, then enter "aspirin" (something common) in the search box (the default values for the drop-downs: "Containing" and "AnyCategory")
      * Leave the default "Maximum Number of Children to Display" (green check box in the top right of the ontology/find panel).
      * Click "Find"

      A dialog pops up saying:
      "The number of terms that were returned exceeded the maximum number currently set to 200. Please try again with a more specific search or increase the maximum number of terms that can be returned as defined in the options screen".

      Click "OK" - the dialog keeps popping up (rather than limiting the results to 200). After the dialog reappears a few times, the webclient "freezes" (cannot click buttons, scroll in any of the panels, etc). Eventually, a dialog pops up saying "Page Unresponsive - the following page has become unresponsive. You can wait for it to become responsive or kill it".

      In Chrome, Selecting "Wait" results in the page still being frozen. Selecting "Kill" sends you to an error page (generated by Chrome).

      Firefox has similar behavior, though killing the script sometimes doesn't actually seem to kill it the first time.

      Searching for something much more specific (for example, "Note Concepts (EPIC#ROOTNODE)" which only exists a couple of times seems to work as expected - the single result is found.

      We'd like to be able to see results even if there are a lot of them. It would at least be nice to avoid freezing the browser in these cases - it seems like the option to limit the number of results doesn't have the desired behavior.

      Attachments

        Activity

          People

            rm302 Reeta Metta
            ngraham Nathan Graham
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: