stable

Clone or download

Read-only

fix: report update can fail when using @project.category

Part of story #39330 Choose on which tracker I perform my query When the wanted project category has sub category, the update of the cross tracker report can fail. It's because the SQL query which retrieve the category can return the same tracker id several time when the project has sub category which lead to update error since we cannot have the same (report_i, tracker_id) value several times in the DB. How to test: - Make sure to have sub project category - Make sure the queried project has the sub project category - In the widget, query the category (FROM @project.category=...) - save the report => The report is saved. Change-Id: Ifa105ddc5dbfb2940a42e57ddde76d48042cffca

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryBuilder/CrossTrackerExpertQueryReportDao.php +1 −0 Go to diff View file