Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.04
-
None
-
i2b2 Web Client
-
SHRINE
-
All databases
Description
When you log into the i2b2 Web Client, 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 Web Client 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 Web Client 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 Web Client needs to include the project in which a user is logged into when determining a cell’s location and method of communication.
The problem is the i2b2 Web Client 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:
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 Web Client 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 Web Client 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
Field | Original Value | New Value |
---|---|---|
Description |
When you log into the i2b2 Web Client or the 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 Web Client 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: 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 Web Client 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 Web Client needs to include the project in which a user is logged into when determining a cell’s location and method of communication. |
When you log into the i2b2 Web Client, 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 Web Client 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: 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 Web Client 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 Web Client needs to include the project in which a user is logged into when determining a cell’s location and method of communication. |
Affects Database/s | All databases [ 10219 ] | |
Fix Version/s | 1.7.05 [ 10163 ] | |
Affects Version/s | 1.7.04 [ 10161 ] | |
Assignee | Mike Mendis [ mem61 ] | |
i2b2 Related Project/s | SHRINE [ 10202 ] | |
i2b2 Sponsored Project/s | i2b2 Web Client [ 10197 ] | |
Status | New [ 10000 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Mike Mendis [ mem61 ] | Janice Donahoe [ jmd86 ] |
Status | In Progress [ 3 ] | Ready to Test [ 10001 ] |
Status | Ready to Test [ 10001 ] | Testing [ 10002 ] |
Testing Notes |
Test Date: 04/30/2015
Build Number: Test Status: Passed Clients Tested : i2b2 Web Client Environments Tested : Browsers: Chrome, Firefox, Internet Explorer, and Safari Databases: Not applicable for this test Client OS: Mac OS and Windows Test Comments: Tested with the latest web client build and it appears to be working correctly. The i2b2 Web Client 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 Web Client 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. |
|
Status | Testing [ 10002 ] | Testing [ 10002 ] |
Resolution | Fixed [ 1 ] | |
Status | Testing [ 10002 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |