[
https://issues.apache.org/jira/browse/KYLIN-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998799#comment-16998799
]
ASF GitHub Bot commented on KYLIN-4252:
---------------------------------------
nichunen commented on pull request #937: KYLIN-4252
URL: https://github.com/apache/kylin/pull/937
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)