Bug 203083 - khelpcenter scripts incorrectly use htdig "common" directory, "htsearch" program, and "matchesperpage" option
khelpcenter scripts incorrectly use htdig "common" directory, "htsearch" prog...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kdebase (Show other bugs)
5
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-18 08:47 EDT by major
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-08-18 11:33:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description major 2006-08-18 08:47:39 EDT
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 Ngo Than 2006-08-18 11:33:48 EDT
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.