Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.08
-
None
-
Query Tool
-
i2b2 Web Client
-
Reproduced in the 1.7.02 test environment
-
-
1.7.02.0005
Description
In the [Query Tool] Pane, adding the same concept twice and selecting the second to be deleted, will actually delete the first in the list.
This is also more than just a visual annoyance to the user. Suppose one were to drop in two of the same numerically constrained concepts with differing parameters (e.g. Length of Stay concept with > 2 and < 10). In this case, if you select the second concept for delete, it will delete the first.
The delete mechanism appears to always delete the first matched concept it encounters and there appears to be no work around.
Reproduction Steps:
1. Open I2B2 instance with a numerically constrained concept
2. Add the numerically constrained concept to the [Query Tool] Pane with a value of 1
3. Add the same numerically constrained concept to the [Query Tool] Pane with a value of 2
4. Delete the numerically constrained concept with the value of 2.
Expected Result: The concept with a value of 2 is deleted
Actual Result: The concept with a value of 1 is deleted
This is also more than just a visual annoyance to the user. Suppose one were to drop in two of the same numerically constrained concepts with differing parameters (e.g. Length of Stay concept with > 2 and < 10). In this case, if you select the second concept for delete, it will delete the first.
The delete mechanism appears to always delete the first matched concept it encounters and there appears to be no work around.
Reproduction Steps:
1. Open I2B2 instance with a numerically constrained concept
2. Add the numerically constrained concept to the [Query Tool] Pane with a value of 1
3. Add the same numerically constrained concept to the [Query Tool] Pane with a value of 2
4. Delete the numerically constrained concept with the value of 2.
Expected Result: The concept with a value of 2 is deleted
Actual Result: The concept with a value of 1 is deleted