You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "wu.kehua (Jira)" <ji...@apache.org> on 2019/12/18 02:02:00 UTC
[jira] [Updated] (KYLIN-4252) Fix the error "Cannot read property
'index' of null" in visualization page
[ https://issues.apache.org/jira/browse/KYLIN-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wu.kehua updated KYLIN-4252:
----------------------------
Description:
# 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 Can't see full metric options.
!image-2019-11-13-17-50-38-006.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}
was:
If we choose the "-- choose metrics --" firstly, then we can't choose any other metric options.
!image-2019-11-13-17-50-38-006.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}
> 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
> Attachments: image-2019-11-13-17-50-38-006.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 Can't see full metric options.
> !image-2019-11-13-17-50-38-006.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)