https://bugs.documentfoundation.org/show_bug.cgi?id=166428

            Bug ID: 166428
           Summary: Stock Chart is not correctly saved and corrupts the
                    spreadsheet file
           Product: LibreOffice
           Version: 25.2.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When creating a stock chart which is not Type 1, everything looks as expected.
But when the file is saved, closed and opened again, the specific stock data is
replaced by several unspecific data rows (the number depends on how many
columns have your data table, used as data source). Of course also the chart is
empty, because the data is now nonsense. When saving again, the data rows in
the chart multiply again and again with each following save. After a while the
document can still be opened, but saving takes longer and longer and the file
size increases dramatically. 

Steps to Reproduce:
1. create a new spreadsheet document
2. create a data table with 3 rows and 3 columns, enter any numbers in this
matrix (e.g. 1 to 9 distributed over the cells)
3. select the data matrix and create a chart, type "stock chart", use NOT the
Type 1, but e.g. "candle stick chart" (Type 2)
4. save the file
5. close the file
6. open the saved file

Actual Results:
1. before saving, the diagram is shown and has one data row with "low", "high"
and "close" values attached
2. after closing and opening again, you have 4 data rows, where the first is
empty and all others have the table columns attached as Y-Data
3. if saving, closing and opening again, the number of chart data rows
multiplies with the number of table columns, and this happens each time you
save

Expected Results:
after opening the saved file, the result should be the same as before closing 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
you can compare the content.xml from the document with a diff-viewer to see,
how the number of data rows increases with each save operation

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render:
Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to