cdmikechen opened a new pull request, #1073: URL: https://github.com/apache/submarine/pull/1073
### What is this PR for? If the backend CR is manually deleted, the submarine-server is not currently checking if the specified resource still exists, resulting in a situation where the experiment cannot be deleted in UI. ### What type of PR is it? Bug Fix ### Todos * [x] - Remove `throwsApiException` in Notebook, Experiment and Serve. * [x] - Fixed a bug where deleting a record on the UI, the entire page data clear ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-1379 ### How should this be tested? CI tests can cover code, but they can only represent processes that handle normal conditions. I removed the method of throwing an 404 exception error (`.throwsApiException()`) when the resource does not exist, which results in the return of the status object. In this way, we can return the result normally, even without this resource ### Screenshots (if appropriate) NA ### Questions: * Do the license files need updating? No * Are there breaking changes for older versions? No * Does this need new documentation? No -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
