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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v3.0.0
    • Fix Version/s: v2.6.5, v3.1.0, v3.0.1
    • 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

          Activity

            People

            • Assignee:
              wkh8011 wu.kehua
              Reporter:
              wkh8011 wu.kehua

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment