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

Fix address book bootstrap failing with null ip_address_v4 #8851

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

mgoelswirlds
Copy link
Member

Description:
This PR sets ip_address_v4 to an empty string.

This PR

  • Sets ip_address_v4 to an empty string instead of null

Related issue(s):

Fixes #8844

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@mgoelswirlds mgoelswirlds self-assigned this Jul 22, 2024
@mgoelswirlds mgoelswirlds added bug Type: Something isn't working regression parser Area: File parsing labels Jul 22, 2024
@mgoelswirlds mgoelswirlds added this to the 0.110.0 milestone Jul 22, 2024
@mgoelswirlds mgoelswirlds requested review from a team and edwin-greene and removed request for a team July 22, 2024 18:32
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.20%. Comparing base (674c0ce) to head (306a219).
Report is 4 commits behind head on main.

Files Patch % Lines
...r/importer/addressbook/AddressBookServiceImpl.java 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8851      +/-   ##
============================================
+ Coverage     92.18%   92.20%   +0.01%     
- Complexity     7597     7598       +1     
============================================
  Files           925      925              
  Lines         30377    30407      +30     
  Branches       3684     3694      +10     
============================================
+ Hits          28003    28036      +33     
+ Misses         1548     1545       -3     
  Partials        826      826              

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

@mgoelswirlds mgoelswirlds marked this pull request as ready for review July 22, 2024 18:45
@steven-sheehy
Copy link
Member

Needs a test that reproduces the issue.

@steven-sheehy steven-sheehy changed the title Fixing address book bootstrap fails for ip_address_v4 being null. Fix address book bootstrap failing with null ip_address_v4 Jul 22, 2024
- Adding tests.

Signed-off-by: mgoelswirlds <[email protected]>
Copy link

Copy link
Contributor

@jascks jascks left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@xin-hedera xin-hedera left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@edwin-greene edwin-greene left a comment

Choose a reason for hiding this comment

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

Looks good

@mgoelswirlds mgoelswirlds merged commit eb76879 into main Jul 23, 2024
28 of 29 checks passed
@mgoelswirlds mgoelswirlds deleted the 8844-fix-address-book-bootstrap-bug branch July 23, 2024 15:08
bilyana-gospodinova pushed a commit that referenced this pull request Jul 24, 2024
Adding back, throwing exception for invalid IP.
---------

Signed-off-by: mgoelswirlds <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working parser Area: File parsing regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initial address book bootstrap fails for ip_address_v4
5 participants