fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "andrewDzakpasu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FINERACT-206) 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
Date Thu, 04 Aug 2016 11:25:20 GMT

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

andrewDzakpasu updated FINERACT-206:
------------------------------------
    Summary: 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   (was: When deleting
a group with with a user who has roles. It throw com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
Cannot delete or update a parent row: a foreign key constraint fails )

> 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: Markus Geiss
>
> 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)

Mime
View raw message