Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.04
    • 1.7.05
    • Ontology Cell
    • None
    • Find Terms, Navigate Terms, Query Tool, Workplace
    • Queries
    • i2b2 Web Client
    • Oracle
    • All Web Browsers
    • Hide
      This can be reproduced in the i2b2 development environment. Containers can be dragged from Navigate and Find Terms and dropped into the Query Tool or Workplace.

      The problem also extends to Modifier containers.

      Both types of containers typically do not have a base code associated to them, which will cause a number of errors if used to run a query in the i2b2. Therefore users should not be able to drag / drop any containers or modifier containers between i2b2 views.

      The C_VISUALATTRIBUTE column is used to determine the type of term and how it is displayed in the clients. The first character defines the type (container, folder, leaf, modifier, multi, etc.) and can be used to determine if an item can be dragged. The following are the first characters for both containers and modifier containers.

      Container = C
      Modifier Container = O
      Show
      This can be reproduced in the i2b2 development environment. Containers can be dragged from Navigate and Find Terms and dropped into the Query Tool or Workplace. The problem also extends to Modifier containers. Both types of containers typically do not have a base code associated to them, which will cause a number of errors if used to run a query in the i2b2. Therefore users should not be able to drag / drop any containers or modifier containers between i2b2 views. The C_VISUALATTRIBUTE column is used to determine the type of term and how it is displayed in the clients. The first character defines the type (container, folder, leaf, modifier, multi, etc.) and can be used to determine if an item can be dragged. The following are the first characters for both containers and modifier containers. Container = C Modifier Container = O
    • Hide
      Test Date: 04/16/2015
      Build Number:
      Test Status: Passed

      Test Comments:
      Tested with the latest web client build and it appears to be working correctly. Verified containers, including modifier containers can not be dragged from Navigate or Find Terms.

      Clients Tested :
           i2b2 Web Client

      Environments Tested :
           Browsers: Chrome, Firefox, Internet Explorer, Safari
           Databases: Not applicable for this test
           Client OS: Macintosh, Windows
      Show
      Test Date: 04/16/2015 Build Number: Test Status: Passed Test Comments: Tested with the latest web client build and it appears to be working correctly. Verified containers, including modifier containers can not be dragged from Navigate or Find Terms. Clients Tested :      i2b2 Web Client Environments Tested :      Browsers: Chrome, Firefox, Internet Explorer, Safari      Databases: Not applicable for this test      Client OS: Macintosh, Windows

    Description

      Within the Ontology navigation containers are now draggable into queries. Based off of how these are built, they may not actually be useable and return failed queries or errors. If intended to be draggable by default, this should be noted somewhere as it was previously not allowed.

      Tracked to a commented line in /js-i2b2/cells/ONT/ONT_sdx_CONCPT.js:

      i2b2.sdx.TypeControllers.CONCPT.RenderHTML= function(sdxData, options, targetDiv) {
      ....
      if (!Object.isUndefined(options.dragdrop)) {
      // NOTE TO SELF: should attachment of node dragdrop controller be handled by the SDX system as well?
      // This would ensure removal of the onmouseover call in a cross-browser way
      var sDD = ' onmouseover="' + options.dragdrop + '(\''+ targetDiv.id +'\',\'' + id + '\')" ';
      } else {
      var sDD = '';
      }

      // process allowing children to be viewed
      var bCanExp = false;
      if (sdxData.origData.hasChildren.substring(1,0) === "C"){
      // render as category
      icon = 'root';
      ----> //sDD = ''; //This line dictates if the containers are draggable
      sIG = ' isGroup="Y"';
      bCanExp = true;
      }
      ......

      Attachments

        Issue Links

          Activity

            rbrad Robert Bradford created issue -
            jmd86 Janice Donahoe made changes -
            Field Original Value New Value
            Affects View/s Navigate Terms [ 10047 ] Find Terms,Navigate Terms,Query Tool,Workplace [ 10044, 10047, 10077, 10054 ]
            Fix Version/s 1.7.05 [ 10163 ]
            Reproduction Notes This can be reproduced in the i2b2 development environment. Containers can be dragged from Navigate and Find Terms and dropped into the Query Tool or Workplace.

            The problem also extends to Modifier containers.

            Both types of containers typically do not have a base code associated to them, which will cause a number of errors if used to run a query in the i2b2. Therefore users should not be able to drag / drop any containers or modifier containers between i2b2 views.

            The C_VISUALATTRIBUTE column is used to determine the type of term and how it is displayed in the clients. The first character defines the type (container, folder, leaf, modifier, multi, etc.) and can be used to determine if an item can be dragged. The following are the first characters for both containers and modifier containers.

            Container = C
            Modifier Container = O
            Assignee Mike Mendis [ mem61 ]
            i2b2 Sponsored Project/s i2b2 Web Client [ 10197 ]
            Status New [ 10000 ] Open [ 1 ]
            mem61 Mike Mendis made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            mem61 Mike Mendis made changes -
            Assignee Mike Mendis [ mem61 ] Janice Donahoe [ jmd86 ]
            Status In Progress [ 3 ] Ready to Test [ 10001 ]
            jmd86 Janice Donahoe made changes -
            Status Ready to Test [ 10001 ] Testing [ 10002 ]
            jmd86 Janice Donahoe made changes -
            Testing Notes Test Date: 04/16/2015
            Build Number:
            Test Status: Passed

            Test Comments:
            Tested with the latest web client build and it appears to be working correctly. Verified containers, including modifier containers can not be dragged from Navigate or Find Terms.

            Clients Tested :
                 i2b2 Web Client

            Environments Tested :
                 Browsers: Chrome, Firefox, Internet Explorer, Safari
                 Databases: Not applicable for this test
                 Client OS: Macintosh, Windows
            Status Testing [ 10002 ] Testing [ 10002 ]
            jmd86 Janice Donahoe made changes -
            Resolution Fixed [ 1 ]
            Status Testing [ 10002 ] Resolved [ 5 ]
            Version 1.7.05 of the i2b2 Software has been released and is available for download on the i2b2 website (http://www.i2b2.org/software).
            jmd86 Janice Donahoe added a comment - Version 1.7.05 of the i2b2 Software has been released and is available for download on the i2b2 website ( http://www.i2b2.org/software ).
            jmd86 Janice Donahoe made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            jmd86 Janice Donahoe made changes -
            Link This issue is duplicated by WEBCLIENT-111 [ WEBCLIENT-111 ]

            People

              jmd86 Janice Donahoe
              rbrad Robert Bradford
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: