Issue 123604

Summary: particular .doc: TOC update loses hyperlinks
Product: Writer Reporter: Edwin Sharp <elish>
Component: open-importAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues, rainerbielefeld_ooo_qa
Version: 4.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=120845
https://issues.apache.org/ooo/show_bug.cgi?id=123063
Issue Type: DEFECT Latest Confirmation in: 4.0.1
Developer Difficulty: ---
Attachments:
Description Flags
sample file from testlink Test Case ID AOOTest-83 none

Description Edwin Sharp 2013-11-01 08:38:19 UTC
Created attachment 81859 [details]
sample file from testlink Test Case ID AOOTest-83

1) open attachment
2) right click TOC - Update Index/Table

Bold and hyperlink are lost, undo disabled.

3) close without saving 
4) reopen document
5) save as odt and close
6) reopen document
7) right click TOC - Update Index/Table

Bold and hyperlink are lost, undo disabled.

AOO410m1(Build:9750)  -  Rev. 1537113
Rev.1537113
Comment 1 Rainer Bielefeld 2013-11-02 10:58:07 UTC
Reproducible with server installation of "AOO 4.1.0-Dev – German  UI / German locale - [AOO410m1(Build:9750)  -  Rev. 1537508 - 2013-11-02]" on German WIN7 Home Premium (64bit)", own separate user profile;  but because of incomplete LCo selector (Bug 123063) no correct information can be left.

Additional info:
----------------
(a) Not a new effect. OOo 3.1.1 OOo 3.3.0 ... AOO 3.4.1did not show 
    hyperlinks  (or bold) at all (what still is a problem with LibO 4.2)
(b) " AOO 4.0.0-Dev  – English UI / German locale [AOO400m1(Build:9700) - 
    Rev. 1457992 – Rev.1457606  ((2013-03-19))]" already imports hyperlinks in
    TOC (and bold style), and already shows the update losses.
(c) Lost Styles problem seems to be a DUP of "Bug 120845 - [writer001] some TOC 
    entry's styles lost after update TOC when open doc in AOO", so we should 
    limit this one to the hyperlink problem
(d) in Bug 120845 hyperlinks will not be lost after update, so may be difference
    between sample documents might give a hint concerning bug roots.
(e) I think the root of the problem is an incorrect import of the TOC in
    the document.