Search page throws Javascript not enabled error

Bug #1597014 reported by Cheyenne Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstackdocstheme
Fix Released
Medium
Brian Moss

Bug Description

Javascript is enabled, and search is throwing an error that Javascript is not enabled. Chrome.

-----------------------------------
Release: 0.0.1 on 2016-06-28 12:06
SHA: b3b6bec8f6274902c0873859d26993fd5340ff20
Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/ops-guide/source/search.rst
URL: http://docs.openstack.org/ops-guide/search.html?q=availability zone

Revision history for this message
Cheyenne Bryant (cheyenne-o) wrote :
tanyy (tanyy1990)
Changed in openstack-manuals:
assignee: nobody → tanyy (tanyy1990)
assignee: tanyy (tanyy1990) → nobody
Revision history for this message
Atsushi SAKAI (sakaia) wrote :

I cannot reproduce this problem.

In my case, popup screen of search result appleared in a few second later.

From chrome://version
==========
Google Chrome 51.0.2704.103 (Official Build) m (32-bit)
Revision aa7c8d23c098e96a388ffedf6698230bda650bb3-refs/branch-heads/2704@{#723}
OS Windows
Blink 537.36 (@aa7c8d23c098e96a388ffedf6698230bda650bb3)
JavaScript V8 5.1.281.65
========

Revision history for this message
Atsushi SAKAI (sakaia) wrote :

It seems reproduced for just input keyword and search button.
But for keyword and reload the url, I can search it.

By the way, The error message is comming from #fallback and hide().
But I do not know how to solve it.

From seeing this
http://superuser.com/questions/1082806/jenkins-hosted-website-misleading-message-please-activate-javascript-to-enabl

Revision history for this message
Lana (loquacity) wrote :

I can replicate. Are you using ghostery? If I pause ghostery and reload the page, then it works properly. Ghostery sometimes interferes with javascript in weird ways, I've had this happen on other pages too. Thanks for the SuperUser link, I'll paste this reply there too.

L

Changed in openstack-manuals:
status: New → Confirmed
Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Hi Cheyenne,

If you have troubleshooting questions, I recommend you visit ask.openstack.org or perhaps even ask your question in the #openstack channel.

Thanks,

Alex

Changed in openstack-manuals:
status: Confirmed → Invalid
Revision history for this message
Brian Moss (bmoss) wrote :

This is a valid problem with openstackdocstheme. It only affects certain browsers and/or plugin combinations though, so it is difficult to diagnose. The issue has been raised again recently on the docs mailing list.

Changed in openstack-manuals:
status: Invalid → Confirmed
importance: Undecided → Medium
tags: added: openstackdocstheme
removed: ops-guide
Brian Moss (bmoss)
summary: - Search in Operations Guide
+ Search page throws Javascript not enabled error
Revision history for this message
Alexandra Settle (alexandra-settle) wrote :

Thanks Brian :)

Revision history for this message
Anne Gentle (annegentle) wrote :

To fix, move the jquery script above the search script. This will need fixing in openstackdocstheme. Also there's an inconsistency between the theme's jquery version and the one in the static www files in openstack-manuals.

Anne Gentle (annegentle)
Changed in openstack-manuals:
status: Confirmed → Triaged
Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

Do we need jquery in openstack-manuals at all?

Revision history for this message
Brian Moss (bmoss) wrote :

I think we do need jQuery, as the getJSON script is run in the script_footer.tmpl file. At any rate, I've updated the version to match what we will have in the next release of openstackdocstheme: https://review.openstack.org/#/c/435186

Brian Moss (bmoss)
Changed in openstack-manuals:
assignee: nobody → KATO Tomoyuki (kato-tomoyuki)
Brian Moss (bmoss)
affects: openstack-manuals → openstack-doc-tools
Changed in openstack-doc-tools:
assignee: KATO Tomoyuki (kato-tomoyuki) → Brian Moss (bmoss)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstackdocstheme (master)

Reviewed: https://review.openstack.org/434752
Committed: https://git.openstack.org/cgit/openstack/openstackdocstheme/commit/?id=d87aaca30f64502b3dd13cc1ddf46beec90fc015
Submitter: Jenkins
Branch: master

commit d87aaca30f64502b3dd13cc1ddf46beec90fc015
Author: KATO Tomoyuki <email address hidden>
Date: Thu Feb 16 18:00:03 2017 +0900

    Fix search.html page script errors

    Use plain Javascript to avoid jQuery import issue.
    Use custom Google search to avoid issues with Sphinx built-in search.
    Add search page to test doc for search feature testing.

    Change-Id: Idc58d32987893e858e5aa49ecff79f6ba2f76a29
    Closes-Bug: #1597014

Changed in openstack-doc-tools:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstackdocstheme 1.7.0

This issue was fixed in the openstack/openstackdocstheme 1.7.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.