Apache OpenOffice (AOO) Bugzilla – Issue 80480
Hyperlinks are sometimes displayed thrice in the Navigator window
Last modified: 2013-08-07 14:42:39 UTC
Almost always the Navigator window item 'Hyperlinks' displays thrice the number of hyperlink present in the document To reproduce: - open a new empty Writer document - open the navigator window - write some text in the newly created document - among the text just written add a hyperlink. At the end of the operation the navigator correctly displays one hyperlink. Close the newly created document and reopen it. Observe the Navigator window, now it reports three hyperlinks all referencing to the same element.
Set correct platform and OS. As further information: tag m225 is home build, anyway the same defect exists on 2.2.1 Sun distribution, my current Linux distro is Debian lenny.
Reassigned to ES.
Please attach a sample document
Created attachment 47401 [details] document showing the defect
Open the document, open the Navigator. The single hyperlink in the doc is shown 3 times in Navigator.
Amazing! To reproduce, one just need some text before or after the link in the same paragraph. Every hyperlink is then displayed 3 times in the Navigator.
A hyperlink is inserted via API by setting the URL, the target and the name. Each time a new SwTxtINetFmt is created but the old one is not removed. Is this a side-effect of automatic styles?
Fixed in thints.cxx rev. 1.52.116.1
Target OOo 2.3 because we have a test case where the attributes of "office:target-frame-name" "xlink:show" get lost. It depends on the memory pointers of the export that this issue happen. Manually we got it every 4th or 5th export; automated test: every export. Automated test (CVS): qa/qatesttool/xml/level1/writer_7_xml_export.bas Automated test case (CVS): tcharacters
Created attachment 47794 [details] test case where the attributes get lost
cc'ing myself
FME: Fixed in cws hypfix. Ready for QA.
cc'ing es for doing some manual tests in that areas. Eric, please report here your results, thx!
It looks good!
verfied in OOG680m5 and SRC680m231
Verified in OOo 3.0 - Closing - Sophie