Defect #39743
closedMissing filter fields
0%
Description
We see multiple filters are missing a field that requires a target.
Files
Updated by Mischa The Evil about 1 year ago
- Status changed from New to Needs feedback
More info is needed to triage this issue. Is this occurring for newly added filters (only) or on pre-existing (saved) custom queries? Any error-logs (back- and frontend)? Cleared your (browser-) caches? See also Submissions#Submitting-a-Bug.
Updated by Eve Bo about 1 year ago
The problem is occurring on pre-existing queries, since we upgraded to the version 5.1.0.
It's everyone in the company having the same problem, but I deleted all caches to make sure the problem was not us.
I'm sorry, I just started this job and it's my first time reporting a problem.
Is there anything I can look for in the logs to see what the problem is?
We do use another theme for Redmine, I'll try to remake the server in a virtual machine and see if the problem persists.
Updated by Mischa The Evil about 1 year ago
Eve Bo wrote in #note-2:
The problem is occurring on pre-existing queries, since we upgraded to the version 5.1.0.
I was afraid of that already.
Is there anything I can look for in the logs to see what the problem is?
We do use another theme for Redmine, I'll try to remake the server in a virtual machine and see if the problem persists.
Well, the theme seems not-yet compatible with 5.1.x1 which could be the cause of this. Can you try using the default theme? You can configure it at "Administration" > "Settings" > "Display" tab > "Theme".
Regardless, if this is just a front-end issue, you can check for any javascript warnings/errors using the browsers development tools.
1 https://www.redmineup.com/pages/themes/circle#requirements
Updated by Mischa The Evil about 1 year ago
- Assignee set to Go MAEDA
- tracker
- priority
- assigned_to
- fixed_version
- category
Note: don't be fooled by OP's screenshot with the marking on the status filter as the "Open" operator of that filter doesn't have any values. As such does OP's screenshot confirm my suspicion...
Updated by Eve Bo about 1 year ago
I checked with the default theme but the issue persists. Hope this information helps you
Updated by pasquale [:dedalus] about 1 year ago
I cannot reproduce this issue nor with default theme and nor with custom theme (purplemine2). Maybe Is originated by some plugin? Could you try without plugins? I'm on mySql database.
Updated by Go MAEDA about 1 year ago
I reproduced the problem in Redmine 5.1 by using application.js for Redmine 5.0.
1. An old application.js may be cached. Try super reloading in your web browser: https://www.howtogeek.com/672607/how-to-hard-refresh-your-web-browser-to-bypass-your-cache/#how-to-perform-a-hard-refresh-in-your-browser
2. If super reloading does not fix the problem, check whether public/javascripts/application.js is properly updated for Redmine 5.1. The file for 5.1 should contain the keywords "list_with_history" and "list_optional_with_history".
$ grep with_history public/javascripts/application.js
case "list_with_history":
case "list_optional_with_history":
Updated by Mischa The Evil about 1 year ago
- Assignee changed from Go MAEDA to Eve Bo
@Go & @Pasquale: thanks for looking into this. I'm more reassured now that this is not the big issue I feared it could be...
pasquale [:dedalus] wrote in #note-6:
[...] Maybe Is originated by some plugin? Could you try without plugins? [...]
That is a good advice for the OP. FWIW: The used "redmine_agile" plugin version (1.6.5) is already confirmed to be outdated and incompatible with 5.1.x (see its page in the plugin directory, 1.6.6 is released recently).
Go MAEDA wrote in #note-7:
I reproduced the problem in Redmine 5.1 by using application.js for Redmine 5.0. [...]
That is indeed what I expected at first glance too. I'll leave it to the OP to look into that (and the plugins), so I'll reassign this issue back to Eve.
Updated by Eve Bo about 1 year ago
Hi everyone!
I just remade our server in VirtualBox and with updating the plugins, the problem is gone.
Thank you all so much for your work!
I'll be updating our live server on Wednesday and I'll let you know if the problem is resolved.
Updated by Eve Bo about 1 year ago
Problem is fixed!
It was indeed the application.js file. Fixed it by copying the file from my VM to my server running Redmine and after reloading, the issue was fixed.
Thanks for all the help!
Updated by Go MAEDA about 1 year ago
- Status changed from Needs feedback to Closed
- Assignee deleted (
Eve Bo) - Resolution set to Invalid
Thank you for reporting that the problem has been resolved.