Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Unable to create a domain when networkdomain is mentioned and cleared #9637

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

FelipeM525
Copy link
Collaborator

Description

This PR fixes !9623

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

I tested this PR by typing inside the networkdomain field in the Add domain form and then clearing it, which ended up working as expected after the proposed changes.

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.57%. Comparing base (5ff0b99) to head (45bfd41).

Additional details and impacted files
@@             Coverage Diff             @@
##               main    #9637     +/-   ##
===========================================
  Coverage     15.57%   15.57%             
  Complexity    12052    12052             
===========================================
  Files          5505     5505             
  Lines        482738   482741      +3     
  Branches      58961    60951   +1990     
===========================================
+ Hits          75203    75204      +1     
- Misses       399226   399229      +3     
+ Partials       8309     8308      -1     
Flag Coverage Δ
uitests 4.17% <ø> (-0.01%) ⬇️
unittests 16.35% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@rohityadavcloud rohityadavcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't test, lgtm

@DaanHoogland
Copy link
Contributor

loks good @FelipeM525 , can you base of the 4.19 branch?

… with the field networkdomain as an empty string whenever the user typed something in the form and cleared it causing an exception
Copy link

github-actions bot commented Sep 5, 2024

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@FelipeM525 FelipeM525 changed the base branch from main to 4.19 September 5, 2024 17:21
@kiranchavala
Copy link
Contributor

@blueorangutan ui

@blueorangutan
Copy link

@kiranchavala a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/9637 (QA-JID-455)

Copy link
Contributor

@kiranchavala kiranchavala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Tested the fix manually and able to create domain if the network domain entered and cleared

@DaanHoogland DaanHoogland merged commit ee1cd91 into apache:4.19 Sep 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: Unable to create a domain when networkdomain is mentioned and cleared
5 participants