View Issue Details

IDProjectCategoryView StatusLast Update
0026353mantisbttaggingpublic2019-11-21 11:37
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target Version2.23.0Fixed in Version2.23.0 
Summary0026353: Tag attachments list includes tags already attached to the bug
Description

tag_get_candidates_for_bug(), returns a list of tags including those already attached to the specified issue, in contradiction with the function's documentation.

Steps To Reproduce
  • attach a couple of tags to an issue
  • open the Existing tags dropdown
  • the added tags are still listed in the selection list
TagsNo tags attached.

Activities

Related Changesets

MantisBT: master 8c050ab6

2019-11-21 11:37:11

dregad


Committer: GitHub Details Diff
Do not return tags already attached to the bug

The SQL in tag_get_candidates_for_bug() was incorrect, causing the
function to always return all available tags, instead of excluding those
already attached to the bug.

Fixes 0026353
PR https://github.com/mantisbt/mantisbt/pull/1579
Affected Issues
0026353
mod - core/tag_api.php Diff File

Issue History

Date Modified Username Field Change
2019-11-14 07:28 dregad New Issue
2019-11-14 07:28 dregad Status new => assigned
2019-11-14 07:28 dregad Assigned To => dregad
2019-11-14 08:30 dregad Note Added: 0063091
2019-11-21 11:37 dregad Changeset attached => MantisBT master 8c050ab6
2019-11-21 11:37 dregad Status assigned => resolved
2019-11-21 11:37 dregad Resolution open => fixed
2019-11-21 11:37 dregad Fixed in Version => 2.23.0