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

Workbench may be using the wrong cell data when multiple projects and cells defined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.05
    • Component/s: Workbench
    • Labels:
      None
    • Rank:
      0|i001w7:
    • i2b2 Sponsored Project/s:
      i2b2 Core
    • i2b2 Related Project/s:
      SHRINE
    • Affects Database/s:
      All databases
    • Testing Notes:
      Hide
      Test Date: 04/30/2015
      Build Number:
      Test Status: Passed

      Clients Tested :
           i2b2 Workbench

      Environments Tested :
           Browsers: Not applicable for this test
           Databases: Not applicable for this test
           Client OS: Mac OS and Windows

      Test Comments:
      Tested with the latest workbench build (1.7.05.0001) and it appears to be working correctly. The i2b2 Workbench now includes the project in which the user is logged into when determining a cell’s location and method of communication.

      During the testing I verified the i2b2 Workbench is using the correct cell; This was done by looking at the messages the client sends to each cell to make sure the URL in the message is the correct one for that project.
      Show
      Test Date: 04/30/2015 Build Number: Test Status: Passed Clients Tested :      i2b2 Workbench Environments Tested :      Browsers: Not applicable for this test      Databases: Not applicable for this test      Client OS: Mac OS and Windows Test Comments: Tested with the latest workbench build (1.7.05.0001) and it appears to be working correctly. The i2b2 Workbench now includes the project in which the user is logged into when determining a cell’s location and method of communication. During the testing I verified the i2b2 Workbench is using the correct cell; This was done by looking at the messages the client sends to each cell to make sure the URL in the message is the correct one for that project.

      Description

      When you log into the i2b2 Workbench, the client sends a get services request to the PM cell. The message returned from the PM cell contains the configuration for the user, the domain, and information about the different cells defined for the environment they are logging into. The client uses this information during the session to locate the appropriate cell when performing various actions.

      The problem is the i2b2 Workbench is not taking into consideration the project the user is logged into when determining the location of the cell. This may result in the wrong information being returned to a user.

      The conditions for this problem to exist are as follows:

      1. Multiple projects defined in a single hive.
      - AND -
      2. The cells associated to each project are specific to the project (i.e. multiple cells with different locations).
      - AND -
      3. The user logging into the client has access to the different projects.


      IMPORTANT NOTE:
      JIRA Issue: CORE-156 addressed a problem with the PM Cell not sending the correct cell information when multiple projects and cells are defined.

      Example:
      In the following example I am only showing the setup of the CRC cell but this issue will happen with other cells (i.e. Ontology, Workflow).

      Project 1 is setup with following:
            Project ID = Demo
            Project Name = i2b2 Demo
            Project Path = /Demo

           Cell ID = CRC
           Name = Data Repository
           URL = http://location-123/i2b2/services/QueryToolService
           Project Path = /Demo

      Project 2 is setup with following:
            Project ID = Demo2
            Project Name = i2b2 Demo 2
            Project Path = /Demo2

           Cell ID = CRC
           Name = Data Repository
           URL = http://location-456/i2b2/services/QueryToolService
           Project Path = /Demo2

      In the above example, when the user logs into the Demo2 project the PM cell will send the cell data for both CRC cells. The i2b2 Workbench will use the cell data for the first CRC cell that it finds. This may be the CRC cell data for the first project, which means the client, is communicating with the wrong CRC cell.

      WHAT SHOULD HAPPEN:
      The i2b2 Workbench needs to include the project in which a user is logged into when determining a cell’s location and method of communication.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmd86 Janice Donahoe
                Reporter:
                jmd86 Janice Donahoe
                Participant/s:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code