•  
      request #19313 Software map should not crash when an invalid form_cat is sent
    Infos
    #19313
    Thomas Gerbet (tgerbet)
    2021-02-17 08:25
    2021-02-16 18:18
    20889
    Details
    Software map should not crash when an invalid form_cat is sent

    Issue can be reproduced by accessing /softwaremap/trove_list.php?form_cat=0

    Trace:

    Fatal error: Uncaught Error: Call to a member function valid() on array in /usr/share/tuleap/src/common/DB/Compat/Legacy2018/CompatPDODataAccess.php on line 324
    Error: Call to a member function valid() on array in /usr/share/tuleap/src/common/DB/Compat/Legacy2018/CompatPDODataAccess.php on line 324
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0026	406160	{main}( )	.../trove_list.php:0
    2	0.0528	4161288	db_fetch_array( ??? )	.../trove_list.php:55
    3	0.0528	4161288	Tuleap\DB\Compat\Legacy2018\CompatPDODataAccess->fetchArray( ??? )	.../database.php:114
    4	0.0528	4161288	Tuleap\DB\Compat\Legacy2018\CompatPDODataAccess->fetch( ??? )	.../CompatPDODataAccess.php:342
    
    Other
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2021-02-17
    Attachments
    Empty
    References

    Follow-ups