Reproduction scenario:
- Create a field with a name containing a
-
character
- Display this field in a tracker report
Trace:
Caught exception: Invalid identifier: Invalid characters supplied.:
#0 /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.php(212): ParagonIE\EasyDB\EasyDB->escapeIdentifier()
#1 /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Users.php(426): Tracker_FormElement_Field->getQuerySelectName()
#2 /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.php(171): Tracker_FormElement_Field_List_Bind_Users->getQuerySelect()
#3 /usr/share/tuleap/plugins/tracker/include/Tracker/Report/Tracker_Report_Renderer_Table.class.php(1670): Tracker_FormElement_Field_List->getQuerySelect()
#4 /usr/share/tuleap/plugins/tracker/include/Tracker/Report/Tracker_Report_Renderer_Table.class.php(413): Tracker_Report_Renderer_Table->buildOrderedQuery()
#5 /usr/share/tuleap/plugins/tracker/include/Tracker/Report/Tracker_Report.class.php(949): Tracker_Report_Renderer_Table->fetch()
#6 /usr/share/tuleap/plugins/tracker/include/Tracker/Report/Tracker_Report.class.php(1552): Tracker_Report->display()
#7 /usr/share/tuleap/plugins/tracker/include/Tracker/Tracker.class.php(1108): Tracker_Report->process()
#8 /usr/share/tuleap/plugins/tracker/include/Tracker/Tracker.class.php(920): Tracker->displayAReport()
#9 /usr/share/tuleap/plugins/tracker/include/Tracker/TrackerManager.class.php(146): Tracker->process()
#10 /usr/share/tuleap/plugins/tracker/include/Tracker/TrackerManager.class.php(164): TrackerManager->processSubElement()
#11 /usr/share/tuleap/plugins/tracker/include/TrackerPluginDefaultController.php(45): TrackerManager->process()
#12 /usr/share/tuleap/src/common/Request/FrontRouter.php(252): Tuleap\Tracker\TrackerPluginDefaultController->process()
#13 /usr/share/tuleap/src/common/Request/FrontRouter.php(110): Tuleap\Request\FrontRouter->routeHandler()
#14 /usr/share/tuleap/src/www/index.php(50): Tuleap\Request\FrontRouter->route()
#15 {main}