GNOME Bugzilla – Bug 607498
cannot open info sections that have "/" in title
Last modified: 2010-04-26 15:23:09 UTC
Created attachment 151788 [details] [review] Quick hack fix Yelp cannot display sections of .info files that have titles containing a "/" (forward slash) character. Steps to reproduce: 1. Open grub's info page in yelp (run "yelp info:grub") 2. Click "* Booting::" 3. Click "* OS-specific notes::" 4. Click "* GNU/Linux::" Actual results: An error dialog "Page not found" "The page GNU was not found in the document /usr/share/info/grub.info.gz." The "GNU/Hurd" and "DOS/Windows" sections give a similar error. Other info documents are affected, e.g. gawk's info has a section "Reading Files" -> "Getline", clicking "Getline/Variable" opens the "Getline" section. Additional info: Running yelp 2.28.1 from Fedora 12.
This bug affects the gdb info page as well (e.g. section 'Running' > 'Input/Output', etc)
Created attachment 158319 [details] [review] refreshed patch for 2.30.0 The same patch, but for 2.30.0, and with fixed coding style and re-indenting a block of code. I will also explain the patch: on investigating this problem, I found the comment "FIXME: Super hacky. We want the part before the slash for mallard IDs". The patch is supposed to make the special slash handling only be done for mallard documents, not all document types.
Looks good. Do you have write access to git.gnome.org? If so, please push this to the the gnome-2-30 branch only. master is a very different animal.
(In reply to comment #3) > Looks good. Do you have write access to git.gnome.org? If so, please push this > to the the gnome-2-30 branch only. master is a very different animal. No, I don't have write access to git.gnome.org, I'm not a GNOME developer.
Fixed in 2.30.1. Thanks.