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

Shaik Nazeer Hussain closed FINERACT-206.
-----------------------------------------
    Resolution: Fixed
      Assignee: subramanyasn  (was: Markus Geiss)

Verified by Subramanya. Working as expected

> When deleting a group with with a user who has roles. It throws 
> com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
> Cannot delete or update a parent row: a foreign key constraint fails 
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FINERACT-206
>                 URL: https://issues.apache.org/jira/browse/FINERACT-206
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: andrewDzakpasu
>            Assignee: subramanyasn
>
> To replicate this issue.
> 1. Create a group
> 2. Add a client to the group
> 3. Give the client a group role ex. chairman
> 3. Remove the client from the Group
> 4. Try deleting the group
> You will get 
> com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException 
> because in the m_group_roles the group id exist there as a foreign key



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to