Issue 101214 - Preview userdefined Autotext with indexs and tables, crashes OOo
Summary: Preview userdefined Autotext with indexs and tables, crashes OOo
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOO300m9
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 84292
  Show dependency tree
 
Reported: 2009-04-20 09:46 UTC by amy2008
Modified: 2013-08-07 14:44 UTC (History)
3 users (show)

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


Attachments
Initialize TOXTypes in SwDoc::ClearDoc (3.12 KB, patch)
2009-05-03 14:40 UTC, Oliver Specht
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description amy2008 2009-04-20 09:46:36 UTC
Can reproduce it in OOo310m9 on WinXP and Fedora9

How to reproduce it
1 Create a new Writer doc, and enter some characters in the file
2 F11, set one Heading style for the characters, like Heading 1
3 Set cursor at the end of the characters, then ENTER, Insert -> indexs and 
  tables -> indexs and tables
4 Ctrl + A, Edit -> Autotext, select like Standard, then enter name in the box
  like "testing"
5 Dropdown Autotext on the right of Autotext dialog -> New -> check "Show
  preview", then select you just defined Standard autotext "testing" to preview

Result 
OOo crashes

Expectation
Preview successfully
Comment 1 eric.savary 2009-04-20 10:07:32 UTC
Good catch!
Reproduced in 310m7

Surrounding the problem:
- New text doc
- press return to leave the first paragraph empty
- insert a TOC
- Make the whole content to an AutoText
-> Inserting the AutoText or showing the Preview crashes.

Note: the condition seems to be any TOC but with something between top of the
doc and TOC.

Sent 2 crash reprot with issue ID as summary.
Comment 2 stefan.baltzer 2009-04-20 12:25:25 UTC
Sent Crash report with OOO310_m10: r9yduvc and rcyduvc.
Comment 3 Oliver Specht 2009-05-03 14:40:32 UTC
Created attachment 61957 [details]
Initialize TOXTypes in SwDoc::ClearDoc
Comment 4 Oliver Specht 2009-05-03 14:41:07 UTC
.
Comment 5 Oliver Specht 2009-05-18 09:15:38 UTC
Integrated in cws os130
Comment 6 Oliver Specht 2009-05-19 13:49:28 UTC
Reassigned for verification
Comment 7 eric.savary 2009-05-29 14:46:40 UTC
Verified in CWS os130
Comment 8 eric.savary 2009-06-23 13:52:03 UTC
Verified again in CWS os130a
Comment 9 amy2008 2009-07-22 02:48:23 UTC
Verified in DEV300m52 on WinXP
Closing