Project

General

Profile

Actions

Defect #29276

closed

Autocomplete does not show anything

Added by Christian Wolf over 5 years ago. Updated about 5 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

I have the problem, that the autocomplete feature is not working when selecting other issues. This happens e.g. when I want to add an association to another issue or put something into the parent issue field.

Expected/old behavior:
I know that recently I could simply type 2-3 letters of the topic name and using a background call to the server all issues with this string were searched. I could click one and I get the corresponding issue number inserted automatically.

Actual behavior:
For a short time a waiting GIF (turning circle) is shown, when sufficiently many letters are typed in. Instead of a box with the possible values nothing is shown. So all I can do is to put the number of the issue to be referenced manually.

When looking deeper into the problem I find that the browser starts a connection to the server using ajax and gets a JSON object with the correct result of the search. It seems that this result is simply not made visible.

Unfortunately I am not familiar enough with the JS code of redmine to track this down completely. It might as well be a CSS issue that the "box" is simply hidden/overdrawn.

If needed I can give access to the server with an account to see the effect in a sandbox. Otherwise I am trying my best to help you find the issue.

Some formal informations:
I am using the git version 375c7adfe from https://github.com/redmine/redmine.

Environment:
  Redmine version                3.4.6.stable
  Ruby version                   2.5.1-p57 (2018-03-29) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.10.0
  Mercurial                      4.6.2
  Bazaar                         2.7.0
  Git                            2.18.0
  Filesystem                     
Redmine plugins:
  periodictask                   3.2.1
  redhopper                      1.0.10
  redmine_auto_resubmission      1.0.2
  redmine_custom_css             0.1.7
  redmine_drawio                 0.8.2
  redmine_private_wiki           0.2.0
  redmine_shortcuts              0.0.2
  redmine_wiki_lists             0.0.9
  wiking                         1.1.0

Files

responde_with_json.patch (1.41 KB) responde_with_json.patch Marius BĂLTEANU, 2019-02-03 17:18

Related issues

Is duplicate of Redmine - Patch #30818: Issues autocomplete should respond with content type jsonClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF