[
https://issues.apache.org/jira/browse/KYLIN-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998800#comment-16998800
]
ASF subversion and git services commented on KYLIN-4252:
--------------------------------------------------------
Commit edec47cecfe8e2e3278548b7fbae42865683962e in kylin's branch
refs/heads/master from Kehua Wu
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=edec47c ]
KYLIN-4252 Fix the error "Cannot read property 'index' of null" in
visualization page
> Fix the error "Cannot read property 'index' of null" in visualization page
> --------------------------------------------------------------------------
>
> Key: KYLIN-4252
> URL: https://issues.apache.org/jira/browse/KYLIN-4252
> Project: Kylin
> Issue Type: Bug
> Components: Web
> Affects Versions: v3.0.0
> Reporter: wu.kehua
> Assignee: wu.kehua
> Priority: Major
> Fix For: v2.6.5, v3.1.0
>
> Attachments: image-2019-12-18-10-07-19-107.png
>
>
> # Execute "select PART_DT,sum(PRICE) from KYLIN_SALES group by PART_DT"
> # Expand "Query String"
> # Then click "visualization" to show the chart
> # If we choose the "-- choose metrics --" firstly, then we reopen Metrics
> drop-down box, then we can't see full metric options.
> !image-2019-12-18-10-07-19-107.png!
>
> Then I analyse this operation will cause the error "Cannot read property
> 'index' of null" in visualization page, as follows:
> {code:java}
> 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
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)