Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
simple-odfdom-0.7
-
None
-
Operating System: All
Platform: All
-
50
Description
Created an attachment (id=82)
Test for saving data to the same file it's opened from.
When a document is opened and stored back at itself, we crash or lose data.
This did not happen in the earlier version.
The root cause is the lazy loading mechanism in the package layer: when the data is written out in the same file, it cannot be read anymore - thus we lose data or leave a broken file.
Attached a simple test case to reproduce this.