Issue 43072 - Crash undo footnote after footer insertion
Summary: Crash undo footnote after footer insertion
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 680m78
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-18 12:55 UTC by eric.savary
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description eric.savary 2005-02-18 12:55:56 UTC
- New text
- Insert a footnote
(don't move the cursor from the footnote)
- Insert a footer
- undo 2 times
-> crash
Comment 1 erzielin 2005-02-20 20:37:12 UTC
Duplicated/verified the problem on build 680m79. Sent a crash report referencing
this issue #.

Windows XP Pro SP2, hotfixes to 2/05
Java JRE 1.4.2_06
Build 680m79
Comment 2 openoffice 2005-02-22 12:30:03 UTC
Reassign
Comment 3 nagashree 2005-02-25 05:30:44 UTC
Unalbe to replicate the issue with OpenOffice m78 on NLD and Suse 9.3 beta.
Comment 4 openoffice 2005-02-28 16:56:46 UTC
dvo: I can reproduce it just fine. The problem is that when an undo for the
footer insertion is executed, the nodes array is not left in the same state as
before. Hence, subsequent undo operations may fail.
Comment 5 openoffice 2005-03-01 18:10:55 UTC
Fixed.

1) The SwPageDescUndo owns two SwPageDesc (aOld, aNew). It will now move all
nodes for these into the undo nodes array (pUndoNds).
2) The SwDoc::ChgPageDesc will now make sure that all nodes owned by the new
SwPageDesc are in the aNodes array (aNodes).

Both are implemented using a new helper function saveHeaderFooterNodes, from
headerfooterhelper.hxx.
Comment 6 openoffice 2005-03-11 18:20:36 UTC
Fixed in CWS build.

re-open issue and reassign to es@openoffice.org
Comment 7 openoffice 2005-03-11 18:20:40 UTC
reassign to es@openoffice.org
Comment 8 openoffice 2005-03-11 18:20:44 UTC
reset resolution to FIXED
Comment 9 eric.savary 2005-03-22 17:47:26 UTC
verified in swqcore08
Comment 10 eric.savary 2005-03-31 16:11:46 UTC
Ok in SRC680m90