apache / apache/cloudstack

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

Open
#12,458 5 comments 0 reactions 0 assignees View on GitHub
component:templates component:vmware no-issue-activity type:bug
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

### 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

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing validation that rejects adding a UEFI setting when "Read Instance settings from OVA" is enabled, then identify where the other template settings shown in the issue are handled. The change is complete when all template settings are rejected with a similar exception for affected templates, while unaffected templates can still add settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.