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


##########
fineract-working-capital-loan/src/main/java/org/apache/fineract/portfolio/workingcapitalloan/validator/WorkingCapitalLoanBreachActionParseAndValidator.java:
##########
@@ -87,6 +89,7 @@ public WorkingCapitalLoanBreachAction validateAndParse(final 
JsonCommand command
 
         validateLoanIsActive(dataValidator, workingCapitalLoan);
         validateBreachConfigurationExists(dataValidator, workingCapitalLoan);
+        validateBreachNotDisabled(dataValidator, workingCapitalLoan.getId());

Review Comment:
   If breach is disabled, we shall not allow any breach related operation 
**with one exception:** UNDO RESET



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