siva-sai-udaygiri opened a new pull request, #5323:
URL: https://github.com/apache/fineract/pull/5323

   Problem: validateLoanScheduleType() calls 
LoanScheduleType.valueOf(loanScheduleType) even when the JSON contains 
"loanScheduleType": null (or invalid), causing an exception instead of a 
validation error.
   
   Fix: Return early when the value is null/blank; safely parse the enum once 
and reuse it for cross-field checks.
   
   Tests: ./gradlew :fineract-provider:test (passed locally).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to