-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hello, we use Mantis (v. 1.2.15) with Project Management (v.1.4.1) on Windows for a while. Many Thanks!!!! Everything seems to work fine with exceptions of "Resource Progress" and "Project Progress". Click to either of those just produce an error message:
APPLICATION ERROR #401
Database query failed. Error received from database was #1111: Invalid use of group function for the query: SELECT pp.id as parent_project_id, pp.name as parent_project,
pc.id as project_id, pc.name as project_name, c.id as category_id, c.name as category_name,
b.sponsorship_total as weight, b.due_date,
b.id, b.handler_id, w.work_type, w.minutes_type, sum(w.minutes) as minutes, max(w.book_date) as book_date
FROM mantis_bug_table b
JOIN mantis_project_table pc ON b.project_id = pc.id
JOIN mantis_category_table c ON b.category_id = c.id
LEFT OUTER JOIN mantis_project_hierarchy_table h ON pc.id = h.child_id
LEFT OUTER JOIN mantis_project_table pp ON h.parent_id = pp.id
LEFT OUTER JOIN mantis_plugin_ProjectManagement_work_table w ON b.id = w.bug_id
WHERE (b.target_version = '00.05'
AND 1=1 ) GROUP BY pp.id, pp.name, pc.id, pc.name, c.id, c.name, b.id, b.handler_id, w.work_type, w.minutes_type,
b.sponsorship_total, b.due_date
ORDER BY handler_id, b.resolution DESC, CASE WHEN MAX(b.due_date) = 1 THEN 9999999999 ELSE MAX(b.due_date) END, weight DESC, id.
Why that could be ? what do we missing ?
Thanks a lot for any advice!
Best Regards,
Ian