Hi Victor, My 2 cents
This looks like a configuration that should not be allowed in the first place. Making all the Days working and selecting the "*payment due on non-working days*" drop-down is not a valid scenario. The "*payment due on non-working days*" drop-down should be disabled when all the days are selected as working days. If we are not selecting all day and selecting the "*payment due on non-working days*" drop-down as "same day" then there should be a warning message for the user. Also In this case as well If it is going into an infinite loop then it looks like but to me Regards, Bharath Lead Implementation Analyst | Mifos Initiative Skype: live:cbharath4| Mobile: +91.7019635592 http://mifos.org <http://facebook.com/mifos> <http://www.twitter.com/mifos> On Thu, Dec 8, 2022 at 7:40 AM VICTOR MANUEL ROMERO RODRIGUEZ < victor.rom...@fintecheando.mx> wrote: > Hello Fineract Community, > > With the following settings enabled (not by default) in the Working days > causes infinite loop and Stackoverflow. I have tested with the latest > commit (9999e08 > <https://github.com/apache/fineract/commit/9999e08de22656f78c43128fd955b16a5f5b5853>) > in the develop branch and using MariaDB 10.0.9 and MySQL 8.0.28 > > [image: image.png] > > Loan Application Stack Overflow: > > https://paste.apache.org/md0d7 > > Loan Approval Infinite Loop: > > https://paste.apache.org/6hq21 > > The question is, before raising a Jira ticket or proposing a fix: Is it > expected? Why not at least send a warning to the user that this could lead > to negative effects, like a validation error in the Working Days? > > Regards > > Victor > > > >