Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4252

Fix the error "Cannot read property 'index' of null" in visualization page

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v3.0.0
    • Fix Version/s: v2.6.5, v3.1.0
    • Component/s: Web
    • Labels:
      None

      Description

      1.  Execute "select PART_DT,sum(PRICE) from KYLIN_SALES group by PART_DT"
      2.  Expand "Query String"
      3.  Then click "visualization" to show the chart
      4.  If we choose the "-- choose metrics --" firstly, then we reopen Metrics drop-down box, then we can't see full metric options.

       

      Then I analyse this operation will cause the error "Cannot read property 'index' of null" in visualization page, as follows:

      message: "Cannot read property 'index' of null"
      stack: "TypeError: Cannot read property 'index' of null?    at http://kylin_server:7070/kylin/js/scripts.min.20191108164741.js:55197:69?    at Object.forEach 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wkh8011 wu.kehua
                Reporter:
                wkh8011 wu.kehua
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: