Number of installments for grace period on loan accounts can be greater than in loan product definition

Description

REPRO (on v1.0 of Mifos - demo server)
======================================
1. Create a loan product with grace period type = grace on all repayments and
number of grace periods = 4 installments
2. Create a loan account based on this loan product with grace period = 5
installments

OBSERVED:
=========
System allowed the loan account to be created with 5 installments of grace.

EXPECTED:
=========
System would throw an error indicating that grace period could not exceed 4
installments

NOTES:
======
It's possible that the grace period field in the loan product creation simply
specifies the default number of installments for grace, in which case this
feature is functioning as designed/expected. I couldn't find any information n
the Functional Spec to indicate expected behavior (whether the field in the loan
product is to indicate max number of installments for grace period or whether it
is just the default). Hopefully Emily can clarify in triage. If the
implemented behavior is correct, we should update the spec to be more specific
about this design and resolve this bug as 'by design'.

Environment

Platform: All, OS: All

Activity

Show:
bamazur
May 5, 2008, 5:45 AM

Developers can ignore my previous message- Aliya helped clarify this bug for me.
This is an issue since the limit set for grace period in a product is not being
respected when a loan is created.

Kay Chau
January 18, 2010, 8:44 PM

This has been in our release notes for the past few releases. Changing to right component

Jakub Sławiński
May 4, 2010, 10:23 PM

Resolved in r17362.

Jeff Brewster
May 6, 2010, 10:22 PM

verified fix on trunk@17386

Jeff Brewster
May 6, 2010, 10:25 PM

adding documentinfs label. This bug is on the known issues list for 1.5 - should be removed for Shamim D.

Fixed

Assignee

Jakub Sławiński

Reporter

aliyaw

Labels

None

URL

None

Story Points

None

Team

None

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Major
Configure