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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v3.0.0
    • v2.6.5, v3.1.0, v3.0.1
    • Web
    • 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

              wkh8011 wu.kehua
              wkh8011 wu.kehua
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: