Apache OpenOffice (AOO) Bugzilla – Issue 37887
Help shows no content
Last modified: 2013-08-07 14:41:36 UTC
- Start Office - Press F1 for help -> No help content visible.
Andreas, the bug seems to be in the method MediaDescriptor::impl_normalizeURL, which call the method parseStrict and returns aURL.Main. Effectively that removes the query part of the URL, so the help cannot be loaded anymore, as the query part contains essential information. We found that returning aURL.Complete instead of aURL.Main fixes the problem.
AS->ABI: Sorry - but this was a fix for #i34054#. The reason behind: the ucb itself cant handle URL's containing optional parameters (e.g. jumpmarks) and returned no stream for such URLs (e.g. "http://server/test.sxw#page1" ). Thats why I used the main part of the URL for openeing the stream. But now you told me, that the ucb again cant handle such URLs !? May be we have no concept, which parts of an URL are provided by which UCP? If I remove this code and fix this P1 here, no jumpmarks will work again ...
.
I use the main and if it exists a query path of the given URL ... but no fragments at all.
where is it fixed, please?
comphelper/source/misc/mediadescriptor.cxx, rev. 1.5
Hmm, if I use 1.5, help is shown, but every page (even English one) is "modified" when I leave it and I have to Save it/Discard changes. See attached screenshot.
Created attachment 19856 [details] Modified help files
AS->pjanik: This P1 is fixed in our master version m64. Please stay tuned.
AS->pjanik: STOP :-) The problem with modified files was a problem of the last 1..2 mjopr versions. Every new opened document was modified by default. You should try at least a m63 .... better m64 version, to be shure you test the right one.
as: ;-) I have m63 with comphelper/source/misc/mediadescriptor.cxx, rev. 1.5 OK. I'll wait ;-)
reopened for sending back to the QA
AS->HI: Please verify it on the actual master again. THX.
Verified with m65_8847 = ok