[ 
https://issues.apache.org/jira/browse/KYLIN-3130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337052#comment-16337052
 ] 

Zhixiong Chen commented on KYLIN-3130:
--------------------------------------

Hi [~peng.jianhua]

You add '$scope.cubeMetaFrame.engine_type = kylinConfig.getCubeEng(); ' and 
'$scope.cubeMetaFrame.storage_type = kylinConfig.getStorageEng();' after  
'$scope.cubeMetaFrame = CubeDescModel.createNew();'  in cubeEdit.js 

However you delete ' "engine_type": 
kylinConfig.getCubeEng(),"storage_type":kylinConfig.getStorageEng(),' in 
cubeDescModel.js.

Could you remove 'kylinConfig.getCubeEng()' and 'getStorageEng()' in 
cubeEdit.js  and save 'kylinConfig.getCubeEng()' and 
'kylinConfig.getStorageEng()' in cubeDescModel.js.

 Because createNew function should description what properties in cube  as 
default.

> If we add new cube then refresh the page,the page is blank
> ----------------------------------------------------------
>
>                 Key: KYLIN-3130
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3130
>             Project: Kylin
>          Issue Type: Bug
>          Components: Web 
>    Affects Versions: v2.2.0, v2.3.0
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>            Priority: Minor
>         Attachments: 
> 0001-KYLIN-3130-If-we-add-new-cube-then-refresh-the-page-.patch, 01.PNG, 
> 02.PNG, 03.PNG
>
>
> reproduce steps:
> 01:click 'New Cube' button.
> 02:refresh the page.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to