Skip to content

Bug fix: Dont display empty item in free ip list#3790

Merged
andrijapanicsb merged 1 commit into
apache:masterfrom
ravening:acquire_ip
Dec 30, 2019
Merged

Bug fix: Dont display empty item in free ip list#3790
andrijapanicsb merged 1 commit into
apache:masterfrom
ravening:acquire_ip

Conversation

@ravening

Copy link
Copy Markdown
Member

Description

Remove the empty item from the free IP list when we click on "Acquire New IP" in the networks section.
If we dont select any IP address from the list and click ok, it sends "ipaddress=-1" as the parameter which is not back compatible.

This fix ensures that no empty item is displayed and by default one valid ip selected. So when we click ok, "ipaddress=-1" wont be sent as a parameter to the api call.

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)

Screenshots (if appropriate):

Screenshot 2019-12-30 at 09 52 23
Screenshot 2019-12-30 at 09 52 33

How Has This Been Tested?

1 . Navigate to "Networks" section in the main UI
2 . Select any network from the list.
3 . Click on "View IP address" button.
4 . Now click on "Acquire New IP" button on the top right. This will open up a new pop up window with drop down list of all IP address belonging to that network
5 . Select any of the IP address.

@anuragaw anuragaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM from code.

@andrijapanicsb

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@andrijapanicsb a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@andrijapanicsb

Copy link
Copy Markdown
Contributor

thx for the fix @rakgenius!

@andrijapanicsb andrijapanicsb added this to the 4.14.0.0 milestone Dec 30, 2019
@blueorangutan

Copy link
Copy Markdown

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-510

@andrijapanicsb

Copy link
Copy Markdown
Contributor

LGTM - tested manually.

@andrijapanicsb

Copy link
Copy Markdown
Contributor

Merging based on 2 x LGTM - no tests needed - a simple JS change.

@andrijapanicsb
andrijapanicsb merged commit d55a2af into apache:master Dec 30, 2019
wqmeng added a commit to wqmeng/cloudstack that referenced this pull request Jan 2, 2020
Bug fix: Dont display empty item in free ip list (apache#3790)
ustcweizhou pushed a commit to ustcweizhou/cloudstack that referenced this pull request Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants