Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.9.0
-
None
-
None
-
Patch, Important
Description
It should be possible to delete a GL account that is
- Not linked to any financial activity
- Not mapped to any products
- Does not have any journal entries
However, trying to delete such a GL account fails with the following error message:
The attribute [glAccountId] is not present in the managed type [EntityTypeImpl@650953026:JournalEntry [ javaType: class org.apache.fineract.accounting.journalentry.domain.JournalEntry descriptor: RelationalDescriptor(org.apache.fineract.accounting.journalentry.domain.JournalEntry --> [DatabaseTable(acc_gl_journal_entry)]), mappings: 25]].
Steps to replicate
- Create a GL account in the chart of accounts
- and try to delete the account immediately after