Bug 203083 - khelpcenter scripts incorrectly use htdig "common" directory, "htsearch" program, and "matchesperpage" option
Summary: khelpcenter scripts incorrectly use htdig "common" directory, "htsearch" prog...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-18 12:47 UTC by major
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-18 15:33:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description major 2006-08-18 12:47:39 UTC
Description of problem:
The htdig "common" directory on my system is "/usr/share/htdig", but
"/usr/bin/khc_docbookdig.pl" and "/usr/bin/khc_htdig.pl" use
"/srv/www/htdig/common/" instead.

The "htsearch" program on my system is "/var/www/cgi-bin/htsearch", but
"/usr/bin/khc_htsearch.pl" uses "/srv/www/cgi-bin/htsearch" instead.

The "maxnum" option to "/usr/bin/khc_htsearch.pl" is not used properly, causing
the "Max. results" setting in the khelpcenter GUI to be ignored. The line in
"/usr/bin/khc_htsearch.pl" that reads
##########
$htsearchcmd .= "\"format=$format&method=$method&words=$words\"";
##########

should instead read
##########
$htsearchcmd .=
"\"format=$format&method=$method&matchesperpage=$maxnum&words=$words\"";
##########.


Version-Release number of selected component (if applicable):
kdebase-3.5.4-0.2.fc5
htdig-3.2.0b6-6.4.2.1
htdig-web-3.2.0b6-6.4.2.1


How reproducible:
Running khelpcenter and searching for some common term in the "Application
manuals" will not find any results. The configuration file
"~/.kde/share/apps/khelpcenter/index/kde_application_manuals.conf" references
"/srv/www/htdig/common/" instead of "/usr/share/htdig" as given in
"/etc/htdig/htdig.conf".

Comment 1 Than Ngo 2006-08-18 15:33:48 UTC
it's now fixed in rawhide. The fix will also be included in next kdebase 
rebuild for FC5-update. Thanks for your report.


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