Skip to content

Incorrect links are generated for modules in the index of "Haskell Hiearchical Libraries"

This was originally spotted and posted to the ghc-devs mailing list by Joachmin Breitner, but apparently since nobody has submitted a ticket for this relatively serious issue, here it is. I am quoting Joachim:

while the index at
http://haskell.inf.elte.hu/docs/7.11.20150222.noWin32/html/libraries/index.html
exists, navigating to
http://haskell.inf.elte.hu/docs/7.11.20150222.noWin32/html/libraries/Data-Char.html
yields a 404 error.

Same for
http://haskell.inf.elte.hu/docs/latest/html/libraries/Data-Char.html

And I have replied the following to his initial email (I am involved in this because I am doing daily snapshots of the documentation through my FreeBSD GHC builders):

Yes, I can confirm this bug.  For what it is worth, the files are all
there, the link appears to be broken: it is missing the subdirectory
with the name of the package.  That is, the proper link should be
something like that:

http://haskell.inf.elte.hu/docs/7.9.20141222.noWin32/html/libraries/base-4.8.0.0/Data-Char.html

(Note the missing "base-4.8.0.0".)  I have checked this with GHC
7.8.3, and everything is right there, while this problem seems to
appear with GHC 7.10 RC2 and GHC-HEAD (starting from somewhere between
mid-September and November -- that is what a quick bisecting tells
me).
Trac metadata
Trac field Value
Version 7.10.1-rc1
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Documentation
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information