Issue 63536 - I can't save a document after deleting and undo a slide with an group with an custom animation.
Summary: I can't save a document after deleting and undo a slide with an group with an...
Alias: None
Product: Impress
Classification: Application
Component: save-export (show other issues)
Version: 680m160
Hardware: All All
: P2 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2006-03-23 14:45 UTC by christian.guenther
Modified: 2017-05-20 11:08 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description christian.guenther 2006-03-23 14:45:50 UTC
- load the bugdoc
(to create such a document:
 - start an impress
 - create 2 slides
 - insert 2 objects in slide 1 and group them
 - assign an custom animation to the group object)
- select slide 1 in the  slide sorter bar
- delete the slide
- click on undo
- the undo of the slide and the object works but the custom animation has still
- click on the save button
- you get the folloing error:

  Error saving the document <Document name>
  Write Error.
  The file could not be written.
Comment 1 clippka 2006-03-28 10:25:37 UTC
fixed in cws,

the problem was that the animation used an api reference to the groupshape. The
api implementation for the groupshape had a reference to its api slide. As the
slide was removed from the document and placed in the undo, this api slide was
disposed. After executing undo, that slide still was disposed (as there is no
comming back from a disposed state) and so the xml export failed.

I fixed this by changing the lifetime of an api slide. It now lives at least as
long as its SdrPage.
Comment 2 clippka 2006-07-11 21:17:38 UTC
the fixes caused far to many dependencies, didn't finish everything for 2.0.3
Comment 3 clippka 2008-01-10 10:35:27 UTC
shifting target
Comment 4 Marcus 2017-05-20 11:08:16 UTC
Reset assigne to the default "".