stable
Clone or download
Read-only
request #14569 XMl import crash when TTM is not instantiated on a project
How to reproduce: Have a project with ttm service and without having tracker configuration set. Export your project and then import it in a new project A fatal error occurs: PHP Fatal error: Uncaught TypeError: Argument 2 passed to Tuleap\TestManagement\Administration\TrackerChecker::checkTrackerIsInProject() must be of the type int, string given, called in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/XML/XMLImport.php on line 90 and defined in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Administration/TrackerChecker.php:67 Change-Id: Iaae7e2a3f08829f0ab0667a0b5f2380ef4e53334
Modified Files
Name | ||||
---|---|---|---|---|
M | include/TestManagement/XML/XMLImport.php | +13 | −11 | Go to diff View file |
M | phpunit/TestManagement/XML/XMLImportTest.php | +42 | −2 | Go to diff View file |