This is an automated email from the ASF dual-hosted git repository.
arnold pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 831c5a8ee [FINERACT-1678] COB Execution context fix
831c5a8ee is described below
commit 831c5a8eef574cb3ddd91122c251a14d45a04aea
Author: taskain7 <[email protected]>
AuthorDate: Thu Aug 25 12:45:41 2022 +0200
[FINERACT-1678] COB Execution context fix
---
.../src/main/java/org/apache/fineract/cob/loan/LoanItemProcessor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fineract-provider/src/main/java/org/apache/fineract/cob/loan/LoanItemProcessor.java
b/fineract-provider/src/main/java/org/apache/fineract/cob/loan/LoanItemProcessor.java
index 537a3f415..4cb23a12b 100644
---
a/fineract-provider/src/main/java/org/apache/fineract/cob/loan/LoanItemProcessor.java
+++
b/fineract-provider/src/main/java/org/apache/fineract/cob/loan/LoanItemProcessor.java
@@ -43,7 +43,7 @@ public class LoanItemProcessor implements ItemProcessor<Loan,
Loan>, StepExecuti
@Override
public Loan process(Loan item) throws Exception {
- ExecutionContext executionContext =
stepExecution.getJobExecution().getExecutionContext();
+ ExecutionContext executionContext =
stepExecution.getExecutionContext();
TreeMap<Long, String> businessStepMap = (TreeMap<Long, String>)
executionContext.get("BusinessStepMap");
return cobBusinessStepService.run(businessStepMap, item);
}