board-apps icon indicating copy to clipboard operation
board-apps copied to clipboard

Elastic Search box missing in Firefox

Open erl4nc opened this issue 6 years ago • 7 comments

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):

firefox

Steps to Reproduce (for bugs)

  1. Install Elastic Search plugin
  2. Open site in Firefox
  3. 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 avatar Mar 09 '18 19:03 erl4nc

@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 avatar Mar 12 '18 13:03 lmarikannan

@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.

erl4nc avatar Mar 12 '18 17:03 erl4nc

@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

rrjanbiah avatar Mar 12 '18 17:03 rrjanbiah

@ssivachidambaram @lmarikannan FYI

rrjanbiah avatar Mar 23 '18 06:03 rrjanbiah

elastic_search.zip

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

sridhar391 avatar Mar 24 '18 08:03 sridhar391

The behaviour is consistent for my users. I understand browser issues could be difficult to reproduce.

ff.mp4.zip

erl4nc avatar Mar 27 '18 15:03 erl4nc

@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].

ssivachidambaram avatar Mar 28 '18 14:03 ssivachidambaram