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

Guoliang Sun commented on KYLIN-6038:
-------------------------------------

h3. Root Cause

The `delete` method is incorrectly invoked with a resource path instead of a 
resource name. The method internally parses the resource path again, resulting 
in an incorrect resource path.  

Additionally, when performing operations like `save`, the `modelId` and 
`layoutId` are concatenated using a hyphen (`-`), whereas the `remove` method 
uses an underscore (`_`). This inconsistency leads to errors during the 
deletion process.
h3. Dev Design

Remove the resource path conversion and directly pass the resource name. 
Additionally, unify the delimiter used for concatenating `modelId` and 
`layoutId` across all operations.

> [Storage V3] Error occurs when deleting an index
> ------------------------------------------------
>
>                 Key: KYLIN-6038
>                 URL: https://issues.apache.org/jira/browse/KYLIN-6038
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: Guoliang Sun
>            Priority: Major
>
> Error occurs when attempting to delete an index on the model index page.
> Steps:  
> 1. Navigate to the model index page.  
> 2. Select an index.  
> 3. Click the delete button, and an error is reported.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to