Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic Search box missing in Firefox #82

Open
erl4nc opened this issue Mar 9, 2018 · 7 comments
Open

Elastic Search box missing in Firefox #82

erl4nc opened this issue Mar 9, 2018 · 7 comments
Assignees
Labels

Comments

@erl4nc
Copy link

erl4nc commented Mar 9, 2018

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
@lmarikannan
Copy link
Contributor

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

@erl4nc
Copy link
Author

erl4nc commented Mar 12, 2018

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

@rrjanbiah
Copy link
Contributor

@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
Copy link
Contributor

@ssivachidambaram @lmarikannan FYI

@sridhar391
Copy link
Contributor

sridhar391 commented Mar 24, 2018

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

@erl4nc
Copy link
Author

erl4nc commented Mar 27, 2018

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

ff.mp4.zip

@ssivachidambaram
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants