Not searchable

Bug #1928990 reported by Klitos Kyriacou
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openjdk-16 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After installing the package openjdk-16-doc, when I open the index.html in Chrome, the search box is not accepting any input. This is in contrast to earlier versions, such as openjdk-14-doc and openjdk-11-doc, where the search box worked as it should. Also, the Oracle Java 16 downloaded documentation also has a search box that works.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-16 (Ubuntu):
status: New → Confirmed
Revision history for this message
Radoslav Georgiev (valsodarg) wrote :

I was just about to report the same issue -> the problem is that the jquery script is symlinked to the wrong file (jquery-ui), causing undefined reference errors.

```
$ ll /usr/share/doc/openjdk-16-jre-headless/api/script-dir
total 20
drwxr-xr-x 3 root root 4096 Jul 11 09:24 ./
drwxr-xr-x 65 root root 4096 Jul 11 09:24 ../
drwxr-xr-x 2 root root 4096 Jul 11 09:24 images/
lrwxrwxrwx 1 root root 49 Apr 21 00:19 jquery-3.5.1.min.js -> ../../../../javascript/jquery-ui/jquery-ui.min.js
lrwxrwxrwx 1 root root 62 Apr 21 00:19 jquery-ui.min.css -> ../../../../javascript/jquery-ui/themes/base/jquery-ui.min.css
lrwxrwxrwx 1 root root 49 Apr 21 00:19 jquery-ui.min.js -> ../../../../javascript/jquery-ui/jquery-ui.min.js
-rw-r--r-- 1 root root 1787 Apr 21 00:19 jquery-ui.structure.min.css
```

The solution is to manually symlink it to the right jquery version
```
# cd ../doc/openjdk-14-jre-headless/api/script-dir/
# rm jquery-3.5.1.min.js
# ln -s ../../../../javascript/jquery/jquery.min.js jquery-3.5.1.min.js

```

Revision history for this message
Klitos Kyriacou (klitos) wrote :

The same problem still exists in openjdk-17.

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.