Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1398

"Expression with no effect" warning for console web

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • Console
    • None

    Description

      console/html/qdrList.html
       74        <div class="_treeContainer">
         CID 347402 (#2 of 2): Expression with no effect (NO_EFFECT)unused_expr: Accessing data with onTreeSelected and discarding the result. What was this code intended to accomplish?
         Perhaps this code is incomplete or mistyped in some way.
       75            <div id="entityTree" onSelect="onTreeSelected" onRoot="onRootReady" hideRoot="true"></div>
       76            <div ng-init="treeReady()"></div>
       77        </div>
      

      There may be some js magic involved, but after a brief inspection, the warning looks real to me. The stand-alone console seems to work ok, so it either has no influence on functionality, I did not thing of trying what's broken, (or it is a false positive warning).

      Could you please check?

      html/tmplListTree.html
      32        <div class="pane-viewport">
      33            <div class="pane-content">
      34                <div class="treeContainer">
        CID 347337 (#3 of 3): Expression with no effect (NO_EFFECT)unused_expr: Accessing data with onTreeSelected and discarding the result. What was this code intended to accomplish?
        Perhaps this code is incomplete or mistyped in some way.
      35                    <div id="entityTree" onSelect="onTreeSelected" onRoot="onRootReady" hideRoot="true"></div>
      36                    <div ng-init="treeReady()"></div>
      37                </div>
      38            </div>
      39        </div>
      

      Attachments

        Activity

          People

            eallen Ernest Allen
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: