[
https://issues.apache.org/jira/browse/FINERACT-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shaik Nazeer Hussain resolved FINERACT-261.
-------------------------------------------
Resolution: Fixed
Assignee: Santosh Math (was: Markus Geiss)
Fix Version/s: 1.0.0
> Validate that a GL account isn't attached to a product before setting to
> disabled
> ----------------------------------------------------------------------------------
>
> Key: FINERACT-261
> URL: https://issues.apache.org/jira/browse/FINERACT-261
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Edward Cable
> Assignee: Santosh Math
> Priority: Minor
> Labels: p1
> Fix For: 1.0.0
>
> Attachments: Screen Shot 2016-11-22 at 4.22.56 PM.png, Screen Shot
> 2016-11-22 at 4.23.07 PM.png, Screen Shot 2016-11-22 at 4.23.15 PM.png
>
>
> As reported by [~andrew.dzak] at
> https://mifosforge.jira.com/browse/MIFOSX-1045
> Original description:
> "when editing gl accounts to "disabled" there should be a validation, to
> check if the gl account been edited is attached to a product".
> Steps to reproduce:
> 1. Create a loan or savings product and attach a GL account to that product.
> 2. Go into chart of accounts and edit the GL account you added to the product
> and set it to disabled.
> 3. Try and disburse a loan from that product.
> The loan is still able to disbursed even though the attached GL account is
> disabled.
> Validation should be in place to prevent a user from disabling a GL account
> that is attached to a product and providing the proper error message.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)