You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/07/03 02:26:47 UTC

[Bug 120155] Help - Support displays blank help page

https://issues.apache.org/ooo/show_bug.cgi?id=120155

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
The code is in void SfxApplication::MiscExec_Impl( SfxRequest& rReq )
[main/sfx2/source/appl/appserv.cxx, near case SID_HELP_SUPPORTPAGE].

It creates a temporal help URL to get the Language and System arguments:

String sHelpURL = SfxHelp::CreateHelpURL(
String::CreateFromAscii(".uno:HelpSupport"), String() );

The problem is that it uses a real, existing UNO command URL, so that
SfxHelp::CreateHelpURL (SfxHelp::CreateHelpURL_Impl()) returns the help URL
including the anchor:

vnd.sun.star.help://swriter/.uno%3AHelpSupport?Language=en-US&System=UNIX#bm_id3159176

This is the right anchor for that UNO commmand, in the help page
main/helpcontent2/source/text/shared/main0108.xhp but is the root of the issue
described here.
The code then takes this query part, including the anchor and appends it to the
real help URL:

vnd.sun.star.help://shared/text/shared/05/00000001.xhp?Language=en-US&System=UNIX#bm_id3159176

but then also appends &UseDB=no

vnd.sun.star.help://shared/text/shared/05/00000001.xhp?Language=en-US&System=UNIX#bm_id3159176&UseDB=no

this ends up in a wrong System: "UNIX#bm_id3159176"

-- 
You are receiving this mail because:
You are the assignee for the bug.