vidakovic commented on code in PR #2554:
URL: https://github.com/apache/fineract/pull/2554#discussion_r961213696
##########
fineract-provider/src/main/java/org/apache/fineract/adhocquery/service/AdHocWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -137,7 +137,7 @@ public CommandProcessingResult disableAdHocQuery(Long
adHocId) {
* Checking the adhocquery present in DB or not using adHocId
*/
final AdHoc adHoc =
this.adHocRepository.findById(adHocId).orElseThrow(() -> new
AdHocNotFoundException(adHocId));
- adHoc.disableActive();
+ adHoc.setActive(true);
Review Comment:
Shouldn't this be "adHoc.setActive(false);"? The word "disable" in the
original code would suggest that...
--
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]