Defect #35201

Duplicate entries in issue filter values

Added by Jens Krämer 6 months ago. Updated 6 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Issues filter
Target version:4.1.4
Resolution:Fixed Affected version:

Description

when filtering the issue list for multiple assignees, the redisplayed filter values box contained the selected users twice - once under their option group (i.e. 'active'), and once below, without any option group:

The cause was using .last when computing missing entries, which will not return the id as expected in the case of 3-element array values. Using [1] instead fixed this. That bug was observed on 3.4 through to current master.

0001-use-1-instead-of-.last-to-get-value-when-determining.patch Magnifier (2 KB) Jens Krämer, 2021-05-04 12:00

screenshot.png (15.9 KB) Jens Krämer, 2021-05-04 12:01

Associated revisions

Revision 20990
Added by Go MAEDA 6 months ago

Duplicate entries in issue filter values (#35201).

Patch by Jens Krämer.

Revision 20991
Added by Go MAEDA 6 months ago

Merged r20990 from trunk to 4.2-stable (#35201).

Revision 20992
Added by Go MAEDA 6 months ago

Merged r20990 from trunk to 4.1-stable (#35201).

History

#1 Updated by Go MAEDA 6 months ago

  • Tracker changed from Patch to Defect
  • Status changed from New to Confirmed
  • Target version set to 4.1.4

Setting the target version to 4.1.4.

#2 Updated by Go MAEDA 6 months ago

  • Status changed from Confirmed to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix. Thank you.

#3 Updated by Go MAEDA 6 months ago

  • Subject changed from duplicate entries in issue filter values to Duplicate entries in issue filter values

Also available in: Atom PDF