-
Notifications
You must be signed in to change notification settings - Fork 2.2k
FINERACT-2181: Improve validation error messages for interest rate chart slabs in FD and RD products #4793
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
base: develop
Are you sure you want to change the base?
Conversation
…art slabs in FD and RD products
|
@abhinav-1305 Please run |
|
@abhinav-1305 did we address the comments raised by @adamsaghy ? I see 3 checks are still failing, not sure if it is something you need to look into or ignore for this PR |
|
Hi @bharathcgowda, I haven't looked at it yet. I'll be pushing a fix for the CI failure tonight. |
|
@abhinav-1305 What's up here? |
|
@abhinav-1305 What's up on this? |
|
@abhinav-1305 What's up here? |
|
Hi @bharathcgowda - 1 test is failing can you look at it? |
|
Hi @adamsaghy, one test case is failing. Could you please help @abhinav-1305 with it? |
Run this: |
|
@abhinav-1305 can you check @adamsaghy comment please? |
IOhacker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that the proposed changes for improving the validation will cause difficult to be translated to another language.
|
@abhinav-1305 Would you mind rewrite to use Hibernate Validation messages that got resolved? |
|
Hi repo authors (@abhinav-1305, @adamsaghy, @bharathcgowda) 👋 |
|
Hi @sidshas03 Thank you for volunteering. Feel free to make the necessary changes |
…args); add tests; fix CI - Replace hard-coded error messages with message codes in InterestRateChart.java - Use failWithCode method instead of failWithCodeNoParameterAddedToErrorCode - Add message keys to fineract-provider/src/main/resources/messages.properties - Add German translations in messages_de.properties - Create unit tests for overlap and gap validation error codes and arguments - Update tests to assert both error codes and arguments properly - All quality checks pass (spotless, checkstyle, spotbugs, tests) This supersedes PR apache#4793 and provides proper internationalization support for interest rate chart validation error messages without domain layer coupling.
|
|
@sidshas03 @adamsaghy anything pending to be done on this? |
- Fix formatting violations in InterestRateChart.java - Addresses Spotless check failures mentioned by @adamsaghy - Resolves CI build issues preventing PR merge Fixes apache#4793
|
@abhinav-1305 squash and commit and check the error |
…args); add tests; fix CI - Replace hard-coded error messages with message codes in InterestRateChart.java - Use failWithCode method instead of failWithCodeNoParameterAddedToErrorCode - Add message keys to fineract-provider/src/main/resources/messages.properties - Add German translations in messages_de.properties - Create unit tests for overlap and gap validation error codes and arguments - Update tests to assert both error codes and arguments properly - All quality checks pass (spotless, checkstyle, spotbugs, tests) This supersedes PR apache#4793 and provides proper internationalization support for interest rate chart validation error messages without domain layer coupling.
|
This pull request seems to be stale. Are you still planning to work on it? We will automatically close it in 30 days. |
|
@abhinav-1305 Please check the failing test case. |
Description
Describe the changes made and why they were made.
Implements a fix for FINERACT-2316
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.