-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mis): 修复系统初始化时作业价格表设置页面报错问题 (#1350)
### 问题 系统初始化时 作业价格表设置页面 因集群排序参数为空数组报错 原因为管理系统集群排序列表的上下文context的获取逻辑中集群配置信息数据为{ }时也可以获取排序结果为[ ] 同时此PR在`getClustersRuntimeInfo` 和`getSimpleClustersInfoRomConfigFiles`中增加了403的返回, 修改了mis-web启动时因token过期等情况validation(token)验证没有通过导致api请求挂起的警告 **![image](https://github.com/PKUHPC/SCOW/assets/43978285/01ed6772-1258-441d-9243-49300afb1673)** ### 修改后 相关api请求正常返回403 ![image](https://github.com/PKUHPC/SCOW/assets/43978285/ba399c02-374a-4324-8f8c-e79533bf91ce) 若是已初始化系统启动时 portal正常启动: ![image](https://github.com/PKUHPC/SCOW/assets/43978285/54bbec20-4f90-4510-b37a-caa2cf5fbd5c) mis正常启动: ![image](https://github.com/PKUHPC/SCOW/assets/43978285/0e878523-82b1-4cca-bcd6-17df683ae45c) 若是未初始化系统启动时, 与集群、集群优先级排序数组相关数据获取正常 ![image](https://github.com/PKUHPC/SCOW/assets/43978285/dc81fa06-f6a2-469d-b778-e174b2cf33c3) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/200e4d47-1d9f-4c12-8bcb-dd5b930bdd41) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/01e58a5a-ae75-403b-96b7-35977800b3a8) ![image](https://github.com/PKUHPC/SCOW/assets/43978285/c9901152-1e71-4b9e-8255-09fc3985b90e)
- Loading branch information
Showing
7 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@scow/mis-web": patch | ||
"@scow/config": patch | ||
"@scow/lib-web": patch | ||
--- | ||
|
||
修复系统初始化时作业价格表设置页面查询参数报错问题 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters