Skip to content

NPE at AddressWritePlatformServiceImpl.addNewClientAddress() (FINERACT-1155)#1844

Merged
ptuomola merged 1 commit intoapache:developfrom
Veeshal:FINERACT-1155
Sep 21, 2021
Merged

NPE at AddressWritePlatformServiceImpl.addNewClientAddress() (FINERACT-1155)#1844
ptuomola merged 1 commit intoapache:developfrom
Veeshal:FINERACT-1155

Conversation

@Veeshal
Copy link
Contributor

@Veeshal Veeshal commented Aug 27, 2021

Fixed NPE as addressTypeId was not validated.

Also converted the static validation for address field configuration parameters to dynamic with exception to addressTypeId as its always mandatory during creation.

There was spotlessJavaCheck at stream that I have ignored. Please let me know how to fix that so that the spotless is happy with my java.

issue: https://issues.apache.org/jira/browse/FINERACT-1155

@Veeshal Veeshal changed the title NPE at AddressWritePlatformServiceImpl.addNewClientAddress(). FINERACT-1155 NPE at AddressWritePlatformServiceImpl.addNewClientAddress(). Aug 27, 2021
@Veeshal Veeshal changed the title FINERACT-1155 NPE at AddressWritePlatformServiceImpl.addNewClientAddress(). NPE at AddressWritePlatformServiceImpl.addNewClientAddress() (FINERACT-1155) Aug 27, 2021
@awasum
Copy link
Contributor

awasum commented Sep 14, 2021

This is a proposed fix for issue: https://issues.apache.org/jira/browse/FINERACT-1155
Thanks for contributing to Fineract @Veeshal

Copy link
Contributor

@ptuomola ptuomola left a comment

Choose a reason for hiding this comment

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

LGTM

@ptuomola
Copy link
Contributor

Thanks for the contributing the fix - and taking the time to refactor the code! Great work.

@ptuomola ptuomola merged commit 3c5b16d into apache:develop Sep 21, 2021
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.

3 participants