Apache OpenOffice (AOO) Bugzilla – Issue 63536
I can't save a document after deleting and undo a slide with an group with an custom animation.
Last modified: 2017-05-20 11:08:16 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 gone. - click on the save button - you get the folloing error: Error saving the document <Document name> Write Error. The file could not be written.
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.
the fixes caused far to many dependencies, didn't finish everything for 2.0.3
shifting target
Reset assigne to the default "issues@openoffice.apache.org".