[ 
https://issues.apache.org/jira/browse/FINERACT-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edward Kang updated FINERACT-2453:
----------------------------------
    Description: 
This works on the TODO item listed in processLatestTransaction() in the 
AdvancedPaymentScheduleTransactionProcessor. "TODO: Cover rest of the 
transaction types."

Most of the transaction types are either already filtered out or handled in 
processLatestTransaction. However, existing code creates a log.warn() for the 
ACCRUAL_ACTIVITY transaction type.

The plan is:
 * Handle ACCRUAL_ACTIVITY transactions with a log.debug() instead.
 * This covers the remaining items in the list and resolves the TODO item.

  was:
This works on the TODO item listed in processLatestTransaction() in the 
AdvancedPaymentScheduleTransactionProcessor. "TODO: Cover rest of the 
transaction types."

Existing code creates a log.warn() for many acceptable transaction types, which 
is undesirable. 

The plan is:
 * Remove the log.warn() for transaction types that don't impact the loan 
scheduling process.
 * Group the remaining 19 transaction types based on their function and 
log.debug() their functionality and why they are excluded from being handled.
 * Only use log.warn() when the transaction type is INVALID.


> Improve logging of transaction processor to account for remaining transaction 
> types
> -----------------------------------------------------------------------------------
>
>                 Key: FINERACT-2453
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2453
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Edward Kang
>            Assignee: Edward Kang
>            Priority: Minor
>
> This works on the TODO item listed in processLatestTransaction() in the 
> AdvancedPaymentScheduleTransactionProcessor. "TODO: Cover rest of the 
> transaction types."
> Most of the transaction types are either already filtered out or handled in 
> processLatestTransaction. However, existing code creates a log.warn() for the 
> ACCRUAL_ACTIVITY transaction type.
> The plan is:
>  * Handle ACCRUAL_ACTIVITY transactions with a log.debug() instead.
>  * This covers the remaining items in the list and resolves the TODO item.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to