Issue 80480 - Hyperlinks are sometimes displayed thrice in the Navigator window
Summary: Hyperlinks are sometimes displayed thrice in the Navigator window
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 680m225
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: jogi
QA Contact: issues@sw
URL:
Keywords: needmoreinfo
Depends on:
Blocks: 80294
  Show dependency tree
 
Reported: 2007-08-08 17:18 UTC by Giuseppe Castagno (aka beppec56)
Modified: 2013-08-07 14:42 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
document showing the defect (7.29 KB, application/vnd.sun.xml.writer)
2007-08-08 19:43 UTC, Giuseppe Castagno (aka beppec56)
no flags Details
test case where the attributes get lost (16.50 KB, application/vnd.sun.xml.writer)
2007-08-27 09:40 UTC, jogi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Giuseppe Castagno (aka beppec56) 2007-08-08 17:18:16 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.
Comment 1 Giuseppe Castagno (aka beppec56) 2007-08-08 17:21:26 UTC
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.
Comment 2 michael.ruess 2007-08-08 18:36:31 UTC
Reassigned to ES.
Comment 3 eric.savary 2007-08-08 19:11:53 UTC
Please attach a sample document
Comment 4 Giuseppe Castagno (aka beppec56) 2007-08-08 19:43:35 UTC
Created attachment 47401 [details]
document showing the defect
Comment 5 Giuseppe Castagno (aka beppec56) 2007-08-08 19:45:42 UTC
Open the document, open the Navigator. The single hyperlink in the doc is shown
3 times in Navigator.
Comment 6 eric.savary 2007-08-08 20:54:07 UTC
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.
Comment 7 Oliver Specht 2007-08-09 07:34:36 UTC
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?
Comment 8 frank.meies 2007-08-14 11:44:28 UTC
Fixed in thints.cxx rev. 1.52.116.1
Comment 9 jogi 2007-08-27 09:38:29 UTC
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
Comment 10 jogi 2007-08-27 09:40:26 UTC
Created attachment 47794 [details]
test case where the attributes get lost
Comment 11 jogi 2007-08-27 09:41:00 UTC
cc'ing myself
Comment 12 frank.meies 2007-08-27 13:07:02 UTC
FME: Fixed in cws hypfix. Ready for QA.
Comment 13 jogi 2007-08-27 13:20:46 UTC
cc'ing es for doing some manual tests in that areas. Eric, please report here
your results, thx!
Comment 14 eric.savary 2007-08-27 14:14:27 UTC
It looks good!
Comment 15 jogi 2007-10-25 15:48:52 UTC
verfied in OOG680m5 and SRC680m231
Comment 16 sgautier.ooo 2009-01-02 11:18:26 UTC
Verified in OOo 3.0 - Closing - Sophie