board-apps
board-apps copied to clipboard
Elastic Search box missing in Firefox
After installing Elastic Search plugin, all browsers (IE 11, Edge, Chrome) show the search box in the bottom navbar on a refresh except Firefox. Firefox does not show the search box on any page after the plugin is installed. Clearing browser cache and refreshing do not resolve this issue. After some time and a few refreshes later, the search box will then appear on its own. This behaviour is reproducible on Windows 7 and 10, Firefox 56.0, 58.0.1 and 58.0.2 (both 32-bit and 64-bit). It's reproducible on fresh Firefox installs and existing Firefox installs. It's reproducible on machines that have previously accessed the Restyaboard installation or machines that have never access the site.
Expected Behavior
After Elastic Search plugin is installed, search box shows in bottom nav bar after 1 refresh.
Current Behavior
Search box is missing for some time in Firefox.
Screenshots (if appropriate):
Steps to Reproduce (for bugs)
- Install Elastic Search plugin
- Open site in Firefox
- Refresh
Context
Users cannot use Elastic Search.
Your Environment
- Version used: 0.6.2
- Environment name and version (e.g. OS, PHP, PostgreSQL): Windows 7 & 10, Firefox 56.0, 58.0.1, and 58.0.2 (both 32 bit and 64 bit)
- Operating System and version (desktop or mobile): desktop
@erl4nc We're trying to reproduce this issue on our Dev server, But we can not able to reproduce this. Could you please double check about this issue or please share your console tab screen-shots for checking HTTP request calls and their error logs (In Firebug or Chrome's Developer tool).
@lmarikannan Please be more specific about what you are looking for in console or network tabs.
A bit more information to help you debug, in client/apps/r_elasticsearch/js/default.cache.js:
- console.log(authuser.user); returns an object which makes !_.isEmpty(authuser.user) return true
- console.log($(".elastic-search").length); returns 0
- console.log($("footer .nav-pills:first")); returns an object
If I clear cache, session, history, etc in Firefox that's already displaying the search box and re-login, the search box goes missing again.
There is one error in console: TypeError: b is null default.cache.js:1:93 but that error shows up regardless of search box.
The difference between Firefox Console and Chrome Console is that Firefox only produces the above logging statements once, whereas Chrome continuously throws out logging statements and returns 1 for console.log($(".elastic-search").length); within 5-6 tries.
I was also able to reproduce this issue on OS X 10.13 with Firefox Developer Edition 60.0b2.
@lmarikannan
I think it is about FF app cache not refreshing. So please double check your steps to reproduce. You should have upgraded version or installed plugin to reproduce
@ssivachidambaram @lmarikannan FYI
we can't able to reproduce the issue on firefox 52.7.2(32 bit) and firefox 59.0.1(64 bit) and we are still trying to reproduce the issue
The behaviour is consistent for my users. I understand browser issues could be difficult to reproduce.
@erl4nc Sorry to say this, still we cannot able to reproduce this issue. Is it possible to arrange a Teamviewer session or SSH access? Please contact us through mail [email protected].