jaysharmagithub opened a new pull request, #6310:
URL: https://github.com/apache/fineract/pull/6310

   ## Description
   This Pull Request corrects a copy-paste logic bug in the 
`updatePostDatedChecks` method inside `PostDatedChecks.java`. 
   
   Previously, the condition for checking a change in the check number 
parameter was comparing the new input value against `this.accountNo` instead of 
`this.checkNo`:
   `if (command.isChangeInLongParameterNamed("checkNo", this.accountNo))`
   
   This error causes unexpected validation behaviors when updating check 
information. This fix switches the parameter reference to the correct field 
variable:
   `if (command.isChangeInLongParameterNamed("checkNo", this.checkNo))`
   
   ## Impact
   - Corrects data validation accuracy for updating post-dated checks.
   - Prevents potential bugs where a check number matching the account number 
fails to update.
   - No runtime breaking changes or structural updates.
   
   ## Verifications
   - Code compiles cleanly locally using `./gradlew compileJava`.
   


-- 
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