View Issue Details

IDProjectCategoryView StatusLast Update
0037022mantisbttaggingpublic2026-04-18 10:28
Reporterraspopov Assigned Tocommunity  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.3.4 
Target Version2.28.2Fixed in Version2.28.2 
Summary0037022: Undefined array key error in tag_bug_get* functions when given an invalid Issue ID
Description

The tag_bug_get_row() and tag_bug_get_attached() functions generate a PHP error when an unknown issue ID is provided. This prevents the proper error message from being displayed.

TagsNo tags attached.

Relationships

related to 0021914 closedcproensa tags column in view-all page issues one query for each bug row 

Activities

raspopov

raspopov

2026-04-15 11:33

reporter   ~0071010

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

dregad

dregad

2026-04-16 04:05

developer   ~0071011

This was introduced with the implementation of bug tags association cache in 1.3.4, see 0021914.

Related Changesets

MantisBT: master-2.28 1cc10355

2026-04-15 11:30

raspopov

Committer: dregad


Details Diff
Fix Undefined array key error

The tag_bug_get_row() and tag_bug_get_attached() functions generated a
PHP error when an unknown issue ID was provided, preventing the proper
error message from being displayed.

Fixes 0037022, PR https://github.com/mantisbt/mantisbt/pull/2208
Affected Issues
0037022
mod - core/tag_api.php Diff File