apache / apache/cloudstack

User should not be allowed to add template settings if the template has "Read Instance settings from OVA" enabled

未關閉
#12,458 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
component:templates component:vmware no-issue-activity type:bug
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

### problem

User should not be allowed to add template setting if the template has "Read Instance settings from OVA" enabled

### versions

ACS 4.22

### The steps to reproduce the bug

1. Register a template in Cloudstack with "Read Instance settings from OVA"

2 Currently, the exception is only thrown, if the user tires to add a uefi setting

Image

3. A similar exception message should be shown if the user tries to add the following settings

Image

### What to do about it?

Do not allow the addition of template settings if the template has "Read Instance settings from OVA" enabled

貢獻指南

開啟貢獻指南

研究方向

首先追蹤現有的驗證邏輯:啟用 "Read Instance settings from OVA" 時,該邏輯會拒絕新增 UEFI 設定;接著找出 issue 中所示的其他範本設定在哪裡處理。對於受影響的範本,所有範本設定都會以類似的例外被拒絕,同時未受影響的範本仍然可以新增設定時,這項變更即完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
cloud, infrastructure
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。