Apache OpenOffice (AOO) Bugzilla – Issue 56310
Binary saved Charts with Calc data lose connection
Last modified: 2013-02-24 21:21:01 UTC
1. Create a Spreadsheet with some data and create a chart out of this data 2. Save as 5.0 (.sdc) file 3. reload in SO 5.2, SO 7 or current version => Changes of data in Calc have no effect on the chart. You can also not edit the data with the chart data editor. Workaround: drag the original source data range onto the chart.
changed owner to me
I finally found the problem. First, binfilter does a binary SaveAs at the SchChartDocShell. However, the saved document is a default one not the one that should be saved. This lead me into a wrong direction while trying to find the problem. Then after the new XML stream (OASIS) was converted to the old XML format (OOo) and this stream was read via binfilter, the binary save is done via Save. In the Save code there was no special handling for converting the ChartRange at the SchMemChart into the Writer- and Calc-specific settings of the SomeData strings. The fix just adds the conversion done in SaveAs also to Save.
Please verify. To test, change some data in the spreadsheet and check, if the chart changes accordingly, and take a look at the range via "Modify Datarange..." (in the broken version only "A1" is shown). re-open issue and reassign to kla
reassign to kla
reset resolution to FIXED
reopen as the fix is not contained in the patch so far
i will take over as bm is on vacation
the binfilter chart lib was missing in the patch.
ready for verification in CWS sch13 re-open issue and reassign to kla@openoffice.org
reassign to kla@openoffice.org
ok in CWS sch13 -> verified
ok in master -> closed