[ https://issues.apache.org/jira/browse/FINERACT-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mihaly Dallos updated FINERACT-2017: ------------------------------------ Description: *To reproduce* # Create a holiday with start and end date as 10th Nov 2023 and repayments scheduled to a specified due date = 11th Nov 2023 # Create a loan account with disbursement date as 13th Oct 2023. This will create a loan with repayments that fall on 13th of every month # Run the apply holiday job to loans job Pre-conditions: The following configurations are turned on: * -- reschedule-repayments-on-holidays *Issue:* Upon job run, the repayment schedule for this loan gets updated to 11th Nov 2023, even though the repayment was not due on 10th but 13th I observed that if another holiday is created with a different specified date, all loans in the system get updated with that date as the repayment date *Expected Result:* Only the Schedule that falls between the holiday period should be rescheduled was: To reproduce # Create a holiday with start and end date as 10th Nov 2023 and repayments scheduled to a specified due date = 11th Nov 2023 2. Create a loan account with disbursement date as 13th Oct 2023. This will create a loan with repayments that fall on 13th of every month 3. Run the apply holiday job to loans job Pre-conditions: The following configurations are turned on: - reschedule-repayments-on-holidays Issue: Upon job run, the repayment schedule for this loan gets updated to 11th Nov 2023, even though the repayment was not due on 10th but 13th I observed that if another holiday is created with a different specified date, all loans in the system get updated with that date as the repayment date Expected Result- Only the Schedule that falls between the holiday period should be rescheduled > Holiday not working as expected > ------------------------------- > > Key: FINERACT-2017 > URL: https://issues.apache.org/jira/browse/FINERACT-2017 > Project: Apache Fineract > Issue Type: Bug > Reporter: Bharath Gowda > Priority: Blocker > Attachments: holidays.mov > > > *To reproduce* > # Create a holiday with start and end date as 10th Nov 2023 and repayments > scheduled to a specified due date = 11th Nov 2023 > # Create a loan account with disbursement date as 13th Oct 2023. This will > create a loan with repayments that fall on 13th of every month > # Run the apply holiday job to loans job > Pre-conditions: > The following configurations are turned on: > * > -- reschedule-repayments-on-holidays > *Issue:* > Upon job run, the repayment schedule for this loan gets updated to 11th Nov > 2023, even though the repayment was not due on 10th but 13th I observed that > if another holiday is created with a different specified date, all loans in > the system get updated with that date as the repayment date > *Expected Result:* > Only the Schedule that falls between the holiday period should be rescheduled -- This message was sent by Atlassian Jira (v8.20.10#820010)