GanttChart icon indicating copy to clipboard operation
GanttChart copied to clipboard

SQL error trying to open summary_gantt_chart_page.php

Open dregad opened this issue 5 years ago • 0 comments

APPLICATION ERROR 401

Database query failed. Error received from database was #1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '='2.1.x' ORDER BY sbt.status ASC, sbt.last_updated DESC' at line 4 for the query: SELECT sbt.*, mantis_bug_relationship_table.source_bug_id as parent_issue, dbt.target_version as parent_version FROM mantis_bug_table AS sbt LEFT JOIN mantis_bug_relationship_table ON sbt.id=mantis_bug_relationship_table.destination_bug_id AND mantis_bug_relationship_table.relationship_type=2 LEFT JOIN mantis_bug_table AS dbt ON dbt.id=mantis_bug_relationship_table.source_bug_id WHERE sbt.project_id=? AND sbt.=? ORDER BY sbt.status ASC, sbt.last_updated DESC.

Not sure why it's trying to use 2.1.x which is my version number, as a field in the mantis_bug_table...

dregad avatar Aug 26 '19 15:08 dregad