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 摘要。