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

Shaofeng SHI commented on KYLIN-2967:
-------------------------------------

Return null may cause NPE in downstream. In my opinion, when deleting a 
project, Kylin need check whether there is model/cube in it. Only after all 
model/cube be removed, the project can be removed.

> Can't drop model when the project was deleted
> ---------------------------------------------
>
>                 Key: KYLIN-2967
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2967
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v2.3.0
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>            Priority: Major
>         Attachments: 
> 0001-KYLIN-2967-Can-t-drop-model-when-no-project-found-fo.patch, 01.PNG, 
> 02.PNG, 03.PNG, 04.PNG
>
>
> 1,create project1 and project2,create model_01 for project1 and model_02 for 
> project2,just like 01.png and 02.png.
> 2,delete project2,then try to drop model_02,it shows like 04.png.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to