View Issue Details

IDProjectCategoryView StatusLast Update
0024632mantisbttaggingpublic2019-11-14 05:44
Reportermnewnham Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.8 
Target Version2.17.0Fixed in Version2.17.0 
Summary0024632: Tag cannot be selected if a tag containing the text of that tag has already been selected
Description

If the text of one tag is contained in a second tag, and the second tag is already selected, then the first cannot be selected. Let us take for example, two tags:

  1. database
  2. database-management

If creating an issue, and the two tags are selected in the order 1,2 - the tagging system works fine. If tag 2 is selected first, then tag 1 cannot be selected, even though it appears on the list.

Steps To Reproduce
  1. Create 2 tags: database, database-management.

  2. Create a new issue.

  3. Attempt to add tags in the following order:

a. database-management
b. database

TagsNo tags attached.

Relationships

has duplicate 0022088 closeddregad Can't add tag that is substring of a tag in the text field 

Activities

atrol

atrol

2018-07-25 15:59

developer   ~0060322

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

dregad

dregad

2019-11-14 05:44

developer   ~0063090

Changing product version, based on what was reported in duplicate 0022088

Related Changesets

MantisBT: master 71684bae

2018-07-25 11:55

atrol


Details Diff
Fix tag checking when adding tags on report bug page

Fixes 0024632
Affected Issues
0024632
mod - js/common.js Diff File