adamsaghy commented on code in PR #4171:
URL: https://github.com/apache/fineract/pull/4171#discussion_r1846659713


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/filter/LoanCOBFilterHelper.java:
##########
@@ -217,7 +227,7 @@ private List<Long> 
getLoanIdsFromBatchApi(BodyCachingHttpServletRequestWrapper r
             // check the body for Loan ID
             Long loanId = getTopLevelLoanIdFromBatchRequest(batchRequest);
             if (loanId != null) {
-                if (isLoanHardLocked(loanId)) {
+                if (isLoanHardLocked(loanId) && isLockOverrulable(loanId)) {

Review Comment:
   Wrong condition. If the lock has an error stored, we should allow to run the 
inline cob!



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