Issue 119654 - [From Symphony]Apply Envelope page style cause application crash
Summary: [From Symphony]Apply Envelope page style cause application crash
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 3.4.0
Hardware: PC All
: P3 Critical (vote)
Target Milestone: 4.0.0
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 03:11 UTC by Yan Ji
Modified: 2012-10-09 09:32 UTC (History)
4 users (show)

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


Attachments
sample (11.59 KB, application/vnd.oasis.opendocument.text)
2012-06-01 03:11 UTC, Yan Ji
no flags Details
This is the patch to fix this problem (922 bytes, patch)
2012-06-12 08:42 UTC, Jian Hong Cheng
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Yan Ji 2012-06-01 03:11:57 UTC
Created attachment 77876 [details]
sample

Build: AOO3.4
OS: All
Steps:
1. Open the sample file
2. Open Style list dialog(by F11).
3. Select "Page Styles", then double click "Envelope" list item in Style list

Defect: Application crashed.
Comment 1 Jian Hong Cheng 2012-06-12 08:32:54 UTC
The reason of this problem is that when changing the page style,the header of the original page style will be destroyed and the drawings within header will be disconnected from layout...At that time,its anchor frm may be null...if the anchor frm is referenced directly,which will leads to crash problem...
Comment 2 Jian Hong Cheng 2012-06-12 08:38:36 UTC
The reason of this problem is that when changing the page style,the header of the original page style will be destroyed and the drawings within header will be disconnected from layout...At that time,its anchor frm may be null...if the anchor frm is referenced directly,which will leads to crash problem...
Comment 3 Jian Hong Cheng 2012-06-12 08:42:35 UTC
Created attachment 78257 [details]
This is the patch to fix this problem
Comment 4 Jian Hong Cheng 2012-06-12 08:49:05 UTC
Committed with Revision:1349168
Comment 5 Jian Hong Cheng 2012-06-12 08:49:55 UTC
Committed with Revision:1349168
Comment 6 binguo 2012-06-19 07:01:35 UTC
Verified it on Aoo_Trunk_20120616.1800.1350879 and it does not reproduce, so close it as fixed.
Comment 7 Shenfeng Liu 2012-10-09 09:32:24 UTC
set Target Milestone to AOO 3.5.0 for PM purpose.