Commit 6293e50
committed
FINERACT-2481: Remove Pentaho reports from initial sample data
Removes deprecated Pentaho report entries from both sample data and existing installations.
Changes:
- Added Liquibase migration 0210_remove_pentaho_reports.xml
* Deletes 26 Pentaho permission entries from m_permission table
* Deletes 44 Pentaho report entries from stretchy_report table
- Updated sample data files (barebones_db.sql and load_sample_data.sql)
* Prevents new installations from including legacy Pentaho reports
The Liquibase migration ensures existing installations are cleaned up,
while the sample data changes prevent new installations from including
these entries. The Pentaho reporting framework is being deprecated in
favor of modern reporting solutions.
Fix: Delete child records before parent in Pentaho removal migration
- Add changeset to delete m_role_permission entries first
- Prevents FK constraint violation FK8DEDB048103B544B on MariaDB/MySQL
- Maintains deletion order: role_permissions -> permissions -> reports
- Fixes test-core-1 failures on MariaDB and MySQL
- Tested locally: all 919 provider tests pass with MySQL1 parent 6269cbb commit 6293e50
File tree
4 files changed
+60
-140
lines changed- fineract-provider/src/main/resources
- db/changelog/tenant
- parts
- sql/migrations/sample_data
4 files changed
+60
-140
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
Lines changed: 59 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
0 commit comments