Security Group without rules displays a phantom Any/Any rule that is persisted when edited and saved
Maintainers usually reply within 19 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
The issue identifies Sunstone (FireEdge) Security Groups and explains that missing rules become an undefined entry in both the edit form and details view. Start by locating those form initialization and details rendering paths, then trace how the schema supplies default rule values. Done means a group with no rules shows an empty list and remains empty after editing and saving.
Written by the indexing model from the issue text.
Description
Description
When creating a Security Group without any rules in Sunstone, the details view displays an Any/Any rule even though no rule exists in the template.
Editing and saving this Security Group without adding a rule then persists the automatically generated rule in the template.
To Reproduce
- Create a Security Group without adding any rules.
- Open its details view.
- Observe that an Any/Any rule is displayed despite the template containing no rules.
- Edit the Security Group and save it without adding any rules.
- Inspect the template: a rule has now been added.
Expected behavior
A Security Group created without rules should display an empty rule list. Editing and saving it should preserve that empty list unless the user explicitly adds a rule.
Details
- Affected Component: Sunstone (FireEdge), Security Groups
- Hypervisor: kvm
- Version: 7.4.1
Additional context
Missing rules are converted into [undefined] when initializing the edit form. Schema casting then populates this entry with default rule values, which are persisted when the form is saved.
The details view also converts a missing rule into a list containing an undefined entry, rendering a phantom row with All/Any values.
Progress Status
- Code committed
- Testing - QA
- Documentation (Release notes - resolved issues, compatibility, known issues)
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 534
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenNebula/one
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
OpenNebula/one#8270 ·
Maintainers usually reply within 19 days
-
[OneSwap] Conversion fails with NoMethodError in add_one_nics when guest IPs are knownPossibly taken @ryatsyshyn claimed this 8 days ago. OpenCategory: OneSwap Status: Accepted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenNebula/one#8237 · 2 assignees ·
Maintainers usually reply within 19 days
-
Sunstone truncates VM names containing mixed ASCII and non-ASCII characters in paginated VM poolOpenStatus: Pending
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OpenNebula/one#8210 · 1 comment ·
Maintainers usually reply within 19 days
-
Category: Sunstone Priority: Normal Status: Accepted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenNebula/one#8207 · 1 comment ·
Maintainers usually reply within 19 days
-
Status: Pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenNebula/one#8139 ·
Maintainers usually reply within 19 days
Similar issues
-
Add: YTS Yamagata TVOpenchannels:add check:passed
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
SasanLabs/VulnerableApp#912 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[chore]: Force minimatch 11.0.1 in the CI scripts' jest tooling (Dependabot #140)Possibly taken @alishair7071 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jaegertracing/jaeger#10133 · 2 comments ·
Maintainers usually reply within 1 day