• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

newer whutil.js causes odd search result

Guest
Dec 19, 2012 Dec 19, 2012

Copy link to clipboard

Copied

We’re using RoboHelp 9 RoboHTML to produce WebHelp.

We’ve run into a problem the last couple of releases where when a user searches our WebHelp output, the search results always returns the home/landing page  rather than the actual search result. The proper link is displayed in the address bar, but the page that is displayed is always the home page.

We’ve isolated the issue to whutil.js, and have developed a workaround where we replace the current whutil.js with one from November 2011. When we diff the files, the newer copy has a different implementation of

function IsInternal (url name) (see the attached screenshot)

whtuil_diff.png

Is there a setting to change to get the orignal version? Is this involed with the security patch to whutil.js?

Views

714

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 19, 2013 Mar 19, 2013

Copy link to clipboard

Copied

anyone?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 20, 2013 Mar 20, 2013

Copy link to clipboard

Copied

LATEST

Sorry for the late reaction, but this slipped my radar.

Afaik, the new function solves a security issue. Though why it produces incorrect search results is a mystery to me. (Perhaps something to do with your merged help?)

If you want to retain the old version of the file, you can modify the seed file in your RoboHelp installation folder: %Robo install dir%RoboHELP/WebHelp5Ext/template_stock

Replace the existing whutils.js with your variant and RH will use your custom variant whenever you generate WebHelp. (Backup the original file if you ever want to change back.)

Greet,

Willam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp