RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1985219 - bind-doc: file shows invalid link
Summary: bind-doc: file shows invalid link
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: python-sphinx
Version: 9.0
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: beta
: ---
Assignee: Charalampos Stratakis
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-23 07:57 UTC by Petr Sklenar
Modified: 2022-05-17 16:41 UTC (History)
5 users (show)

Fixed In Version: python-sphinx-3.4.3-6.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 16:06:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github jashkenas underscore issues 2078 0 None None None 2021-08-03 17:57:32 UTC
Red Hat Product Errata RHBA-2022:4296 0 None None None 2022-05-17 16:06:07 UTC

Description Petr Sklenar 2021-07-23 07:57:21 UTC
Description of problem:
/usr/share/doc/bind/html/_static/underscore.js
uses 
http://documentcloud.github.com/underscore

which is not valid

Version-Release number of selected component (if applicable):
 bind-doc-9.16.15-3.el9.noarch:

How reproducible:
always

Steps to Reproduce:
1. check valid links in all bind* package :)

Actual results:
FAIL     bind-doc-9.16.15-3.el9.noarch:/usr/share/doc/bind/html/_static/underscore.js:http://documentcloud.github.com/underscore


Expected results:
https://github.com/jashkenas/underscore/issues/2078 says:

http://underscorejs.org/

Additional info:

Comment 1 Petr Menšík 2021-08-03 13:40:54 UTC
I were unable to find this link anywhere in bind sources. It seems it comes from /usr/lib/python3.9/site-packages/sphinx/themes/basic/static/underscore.js file, which does not use underscore packaged in Fedora, but some old static version. This version is quite old.

Anyway, should be fixed in python3-sphinx package somehow, it is in the same state both on Fedora and RHEL9.

jquery.js has probably very similar problem, but it seems it is more often updated. js-jquery-3.5.0-6.fc35 contains older version than included in sphinx for a difference. I am no able to guess compatibility level of different versions of javascript libraries.

Comment 2 Petr Viktorin (pviktori) 2021-08-11 12:23:56 UTC
This is an outdated URL in a *comment* in a bundled script, right?

Comment 3 Petr Sklenar 2021-08-25 13:17:47 UTC
(In reply to Petr Viktorin from comment #2)
> This is an outdated URL in a *comment* in a bundled script, right?

yes
and its probably very very low priority bug

Comment 4 Charalampos Stratakis 2021-09-13 16:45:35 UTC
The issue was fixed with underscore 1.4.0 [0]. Sphinx however has been bundling 1.3.1 for a long time and it was updated with the release of Sphinx 3.5.0 [1]. On RHEL9 we ship Sphinx 3.4.3 and I don't think we'll update to a later version, as the patch releases of Sphinx come with backwards incompatible changes.

On Fedora >= 35 though Sphinx is updated, so the issue shouldn't exist there. I'd be inclined to close the issue as WONTFIX, since rebasing Sphinx itself on RHEL9 is not trivial, especially at this point in the release cycle and updating the bundled library has the same backwards compatibility concerns. We could however patch/sed the sources to fix the link but I'd still consider it very low priority.

[0] https://github.com/jashkenas/underscore/commit/37609e8398cd3e5d41006321e59e6c0cc3f87f87
[1] https://github.com/sphinx-doc/sphinx/pull/8733

Comment 6 Miro Hrončok 2021-10-06 18:56:18 UTC
I've verified https://gitlab.com/redhat/centos-stream/rpms/python-sphinx/-/merge_requests/3 by grepping tough the unpacked RPM.

[python3-sphinx-3.4.3-6.el9]$ rg documentcloud
(no results)

[python3-sphinx-3.4.3-6.el9]$ rg -F underscorejs.org
usr/lib/python3.9/site-packages/sphinx/themes/basic/static/underscore.js
7:// https://underscorejs.org

usr/lib/python3.9/site-packages/sphinx/themes/basic/static/underscore-1.3.1.js
7://     https://underscorejs.org

[python3-sphinx-3.4.3-6.el9]$ http https://underscorejs.org --headers
HTTP/1.1 200 OK
...

Comment 12 errata-xmlrpc 2022-05-17 16:06:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: python-sphinx), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:4296


Note You need to log in before you can comment on or make changes to this bug.