We’ve upgraded from 8.7 to 8.8 and now several Reports on a custom modules do now work any more: they return zero lines.
If we re-create those reports (pretty simple) we indeed can select the custom module in the combo box, but do not see any more any field in the Fields …
Mon Feb 17 2025 at 18:28:52 [184516][3d34fae9-afbb-2322-3036-5ed106ce103e][FATAL] Mysqli_query failed.
Mon Feb 17 2025 at 18:28:52 [184516][3d34fae9-afbb-2322-3036-5ed106ce103e][FATAL] Query Failed: SELECT count(*) c FROM (SELECT `bwres_projects`.bwres_projects_accounts_name AS 'Accounts0', `bwres_projects`.name AS 'Project_Identifier1', `bwres_projects`.prj_status AS 'Project_Status2', `bwres_projects`.prj_data_name AS 'Project_Name3', `bwres_projects`.id AS 'bwres_projects_id' FROM `bwres_projects` WHERE bwres_projects.deleted = 0 ) as n: MySQL error 1054: Unknown column 'bwres_projects.bwres_projects_accounts_name' in 'field list'
Mon Feb 17 2025 at 18:28:52 [184516][3d34fae9-afbb-2322-3036-5ed106ce103e][FATAL] Mysqli_query failed.
Mon Feb 17 2025 at 18:28:52 [184516][3d34fae9-afbb-2322-3036-5ed106ce103e][FATAL] Query Failed: SELECT `bwres_projects`.bwres_projects_accounts_name AS 'Accounts0', `bwres_projects`.name AS 'Project_Identifier1', `bwres_projects`.prj_status AS 'Project_Status2', `bwres_projects`.prj_data_name AS 'Project_Name3', `bwres_projects`.id AS 'bwres_projects_id' FROM `bwres_projects` WHERE bwres_projects.deleted = 0 LIMIT 0,100: MySQL error 1054: Unknown column 'bwres_projects.bwres_projects_accounts_name' in 'field list'
We had the same issue with another report: we solved by setting the first column as a text field (not a link), but we also had to move another column to the third position, or else in the first or second was not working.
This is clearly a bug in version 8.8, while in 8.7 it was working perfectly