Project

General

Profile

Actions

Defect #32125

closed

Issues autocomplete may not find issues with a subject longer than 60 characters

Added by Mizuki ISHIKAWA over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Reproduction procedure:
  • Create a issue with subject "-------------------The quick brown fox jumps over the lazy dog."(Subject longer than 60 characters)
  • Check if the created issue is complete (In the textarea of other issues).
    • Write "#brown" => autocompleted
    • Write "#dog" => not autocompleted

"https://----------/issues/auto_complete?q=dog" will return the result as shown below.

[{"id":1,"label":"Bug #1: -------------------The quick brown fox jumps over the laz...","value":1}]

Although the created issue is returned, the label is omitted on the way and the character string such as dog is not included.
(http://www.redmine.org/projects/redmine/repository/entry/trunk/app/controllers/auto_completes_controller.rb#L58)

I think that tribute.js has removed it from the candidate because the search keyword is not included in label.


Files

too-wide-dropdown@2x.png (18.2 KB) too-wide-dropdown@2x.png Go MAEDA, 2019-11-03 11:59
fix-32125.patch (1.72 KB) fix-32125.patch Mizuki ISHIKAWA, 2019-11-20 05:03
example-1.png (27.9 KB) example-1.png Mizuki ISHIKAWA, 2019-11-20 05:04
example-2.png (80.1 KB) example-2.png Mizuki ISHIKAWA, 2019-11-20 05:04
fix-32125-v2.patch (1.08 KB) fix-32125-v2.patch Go MAEDA, 2020-05-11 06:23

Related issues

Blocked by Redmine - Feature #31887: Update jQuery UI to 1.12.1ClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF