Michael Bukachi created FINERACT-793:
----------------------------------------
Summary: Hook events are only triggered during API calls
Key: FINERACT-793
URL: https://issues.apache.org/jira/browse/FINERACT-793
Project: Apache Fineract
Issue Type: Bug
Affects Versions: 1.0.0
Reporter: Michael Bukachi
I've been trying to fix issue 523
(https://issues.apache.org/jira/browse/FINERACT-523).
I've just realized that hooks are only processed in the *processAndLogCommand*
method of *CommandProcessingService* interface which is usually only triggered
during an API call before a response is returned. This means that any hook
which is not associated with a direct API call is never triggered e.g Loan
Closure. This also means that jobs can't trigger hooks.
[~awasum] [~vorburger] can you confirm this behaviour?
--
This message was sent by Atlassian Jira
(v8.3.2#803003)