incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120155] Help - Support displays blank help page
Date Tue, 03 Jul 2012 00:26:47 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120155

--- Comment #1 from Ariel Constenla-Haile <arielch@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.

Mime
View raw message