stable

Clone or download

Read-only

request #24180: A tracker report with list field with invalid selected value can prevent the proper creation of a project

Reproduction steps: 1. Create an empty tracker 2. Make sure the tracker will be instantiated when creating a new project 3. Add a static select box to this tracker with some value 3. Create a tracker report, add the list field as one of the criteria and select one the value 4. Save the report 5. Go back to the field administration and remove the value you selected in the report from the field 7. Create a new project from your current project Change-Id: I6afac614734c0a740580c8c758f8904eb5082836

Modified Files

Name
M plugins/document_generation/include/Report/ReportCriteriaJsonBuilder.php +6 −1 Go to diff View file
M plugins/document_generation/tests/unit/Report/ReportCriteriaJsonBuilderTest.php +31 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.php +7 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/dao/ReportCriteriaDao.php +9 −8 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_ListTest.php +14 −0 Go to diff View file