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

"Delete Concept" in I2B2 web app deletes the first occurrence of the concept, not the one selected

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.08
    • Fix Version/s: 1.7.02
    • Component/s: Web Client
    • Labels:
      None
    • Affects View/s:
      Query Tool
    • i2b2 Sponsored Project/s:
      i2b2 Web Client
    • Reproduction Notes:
      Reproduced in the 1.7.02 test environment
    • Testing Notes:
      Hide
      Tested and it appears to be working correctly.

      Browsers Tested:
      Chrome, Firefox, I.E., Safari
      Show
      Tested and it appears to be working correctly. Browsers Tested: Chrome, Firefox, I.E., Safari
    • Build Number (Fixed):
      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code