•  
      request #20903 Crash when accessing GET /plugins/testmanagement/
    Infos
    #20903
    Thomas Gerbet (tgerbet)
    2021-04-08 17:07
    2021-04-07 14:51
    22490
    Details
    Crash when accessing GET /plugins/testmanagement/

    Trace:

    Fatal error: Uncaught TypeError: Argument 1 passed to Tuleap\TestManagement\Dao::searchByProjectId() must be of the type int, null given, called in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Config.class.php on line 150 and defined in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Dao.class.php on line 32
    TypeError: Argument 1 passed to Tuleap\TestManagement\Dao::searchByProjectId() must be of the type int, null given, called in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Config.class.php on line 150 in /usr/share/tuleap/plugins/testmanagement/include/TestManagement/Dao.class.php on line 32
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0019	402720	{main}( )	.../index.php:0
    2	0.1005	2831456	Tuleap\Request\FrontRouter->route( ??? )	.../index.php:49
    3	0.1059	3349112	Tuleap\Request\FrontRouter->routeHandler( ???, ???, ??? )	.../FrontRouter.php:108
    4	0.1226	4000240	Tuleap\TestManagement\LegacyRoutingController->process( ???, ???, ??? )	.../FrontRouter.php:248
    5	0.1232	4126376	Tuleap\TestManagement\Router->route( ??? )	.../LegacyRoutingController.php:67
    6	0.1242	4218960	Tuleap\TestManagement\Config->isConfigNeeded( ??? )	.../Router.class.php:171
    7	0.1242	4218960	Tuleap\TestManagement\Config->getCampaignTrackerId( ??? )	.../Config.class.php:122
    8	0.1242	4218960	Tuleap\TestManagement\Config->getTrackerID( ???, ??? )	.../Config.class.php:70
    9	0.1242	4218960	Tuleap\TestManagement\Config->getProperty( ???, ??? )	.../Config.class.php:107
    10	0.1242	4218960	Tuleap\TestManagement\Config->getPropertiesForProject( ??? )	.../Config.class.php:135
    11	0.1242	4218960	Tuleap\TestManagement\Dao->searchByProjectId( ??? )	.../Config.class.php:150
    
    Test Management
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2021-04-08
    Attachments
    Empty
    References

    Follow-ups