Issue 37887

Summary: Help shows no content
Product: Writer Reporter: h.ilter
Component: viewingAssignee: h.ilter
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P1 (highest) CC: issues, pavel
Version: 680m63   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on: 38126    
Issue Blocks: 37248    
Attachments:
Description Flags
Modified help files none

Description h.ilter 2004-11-25 15:00:07 UTC
- Start Office
- Press F1 for help
-> No help content visible.
Comment 1 andreas.bille 2004-11-25 17:13:16 UTC
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.
Comment 2 andreas.schluens 2004-11-26 06:04:34 UTC
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 ...
Comment 3 andreas.schluens 2004-11-26 07:58:28 UTC
.
Comment 4 andreas.schluens 2004-11-26 09:28:34 UTC
I use the main and if it exists a query path of the given URL ... but no
fragments at all.
Comment 5 pavel 2004-11-29 12:46:50 UTC
where is it fixed, please?
Comment 6 pavel 2004-11-29 12:52:36 UTC
comphelper/source/misc/mediadescriptor.cxx, rev. 1.5
Comment 7 pavel 2004-11-29 13:07:25 UTC
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.
Comment 8 pavel 2004-11-29 13:08:13 UTC
Created attachment 19856 [details]
Modified help files
Comment 9 andreas.schluens 2004-11-29 13:10:13 UTC
AS->pjanik: This P1 is fixed in our master version m64. Please stay tuned.
Comment 10 andreas.schluens 2004-11-29 13:19:46 UTC
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.
Comment 11 pavel 2004-11-29 13:21:28 UTC
as: ;-)

I have m63 with
comphelper/source/misc/mediadescriptor.cxx, rev. 1.5

OK. I'll wait ;-)
Comment 12 andreas.schluens 2004-12-06 10:39:12 UTC
reopened for sending back to the QA
Comment 13 andreas.schluens 2004-12-06 10:41:26 UTC
AS->HI: Please verify it on the actual master again. THX.
Comment 14 h.ilter 2004-12-06 10:47:41 UTC
Verified with m65_8847 = ok
Comment 15 h.ilter 2004-12-06 10:48:09 UTC
.