View Issue Details

IDProjectCategoryView StatusLast Update
0036969mantisbtplug-inspublic2026-05-09 19:56
Reporterraspopov Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.28.0 
Target Version2.28.2Fixed in Version2.28.2 
Summary0036969: Unknown category error in the MantisGraph plugin.
Description

When viewing the issues_trend_bycategory_table.php page of the MantisGraph plugin, an error of an unknown category is displayed. I discovered this bug while debugging the DateTimePicker inside plugin.

Additional Information

This is because the category_get_name() function is being called for a non-existent category ID.

TagsNo tags attached.

Activities

raspopov

raspopov

2026-03-13 11:05

reporter   ~0070867

PR: https://github.com/mantisbt/mantisbt/pull/2196

dregad

dregad

2026-04-07 12:12

developer   ~0070949

Sorry I missed that one. Too busy :-/

Related Changesets

MantisBT: master-2.28 ba5c862f

2026-03-13 11:04

raspopov

Committer: dregad


Details Diff
Fix unknown category error in MantisGraph

A simple check using category_exists() has been added before calling
the problematic function.

Fixes 0036969, PR https://github.com/mantisbt/mantisbt/pull/2196
Affected Issues
0036969
mod - plugins/MantisGraph/pages/issues_trend_bycategory_table.php Diff File