Issue 118876 - [From Symphony] Create summary slide in .odp file which has expanded blank slides in,there is a crash.
Summary: [From Symphony] Create summary slide in .odp file which has expanded blank sl...
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: ui (show other issues)
Version: 3.4.0 Beta (OOo)
Hardware: PC Windows 7
: P2 Critical (vote)
Target Milestone: ---
Assignee: zhang jianfang
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 02:22 UTC by Yan Ji
Modified: 2012-06-25 05:27 UTC (History)
4 users (show)

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


Attachments
Samples (11.66 KB, application/vnd.oasis.opendocument.presentation)
2012-02-07 02:22 UTC, Yan Ji
no flags Details
patch for fix in file fusumry.cxx (656 bytes, patch)
2012-02-13 00:55 UTC, zhang jianfang
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-02-07 02:22:03 UTC
Created attachment 77188 [details]
Samples

1.Open the sample file.
PS: The sample file is created by following steps -
a. New a SD file, create a new page, input  text of 3 paragraphes into outline text box.
b. Switch to Outline View, delete the characters in each line.
c. Turn back to Normal view, Insert -> Expand Slide.
d. Save it as .odp file.
2. Select slide 2, Insert -> Summary Slide.

Defect: 
There is a crash.
Comment 1 zhang jianfang 2012-02-10 12:54:45 UTC
Reassign to zhangjf and accept the defect.
Comment 2 zhang jianfang 2012-02-13 00:52:49 UTC
The root cause of the problem is when creating summary page for mutliple pages, if one of the pages contains empty title. It will cause null pointer exception.

The solution is to add check if the OutlinerParaObject is created successfully. if yes, add the text into summary page, if no, ignore the page. It means when creating summary page for multiple pages, if one page contains empty title, the page will not be added into summary page.
Comment 3 zhang jianfang 2012-02-13 00:55:33 UTC
Created attachment 77214 [details]
patch for fix in file fusumry.cxx

fix delivered in r1243381, and also attach the patch file.
Comment 4 zhang jianfang 2012-02-13 00:57:13 UTC
Change to resolved state.
Comment 5 Li Lin Yi 2012-06-12 07:19:00 UTC
Verified on AOO3.4, Rev 1327774.
Comment 6 liuping 2012-06-25 05:27:17 UTC
confirm fixing the bug on ver 1351249 in Win7 ,pass