Bug 113404 - ODF: wrong element after reducing symbol size in chart
Summary: ODF: wrong element after reducing symbol size in chart
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ODF-export-invalid
  Show dependency treegraph
 
Reported: 2017-10-24 14:40 UTC by Regina Henschel
Modified: 2022-09-15 09:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Document to produce the invalid file save (13.60 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-10-24 14:40 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-10-24 14:40:07 UTC
Created attachment 137255 [details]
Document to produce the invalid file save

Open attached document. Change chart to edit mode.
Click on data series and open its properties.
Goto dialog page Line and reduce the size of the symbols via triangles in the size field.
Save the document to new name.

Unzip the saved document. Open subfolder "Object 1". That is the chart.

Open content.xml
Search for chart:symbol-image. You will find the empty element <chart:symbol-image/> inside a <style:chart-properties> element in a style with name ch2.

Such element is only allowed together with a chart:symbol-type="image" attribute.
Such element has a mandatory xlink:ref attribute.

In content it is nonsense here, because the symbols are handled as series properties in style ch5 and not as plot-area properties.
Comment 1 Regina Henschel 2017-10-25 09:01:02 UTC
This kind of output exists already with old chart module in OOo1.1.5., only that as that time no ODF 1.2 specification exists.
Comment 2 Buovjaga 2017-11-09 14:11:48 UTC
Reproduced.

Minor clarifications for steps: after entering chart edit mode, double-click the graph to open Data series formatting dialog.
In the Line tab, modify the width and height of the "Icon".

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha1+
Build ID: 4b5751dd0b08d5fe55f89513ea1062f059c493c7
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on November 8th 2017
Comment 3 QA Administrators 2018-11-10 03:52:17 UTC Comment hidden (obsolete)
Comment 4 Regina Henschel 2020-09-13 21:34:44 UTC
The saved document is invalid in ODF 1.3strict.
Tested with Version: 7.1.0.0.alpha0+ (x64)
Build ID: 1e0cfd5662d95cea84e80e4fe10d52c3b1101ae6
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 5 QA Administrators 2022-09-15 03:46:15 UTC Comment hidden (obsolete)
Comment 6 Regina Henschel 2022-09-15 09:25:55 UTC
The file format error still exists in Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4e2ce2a460458f17ee4360c45a2da2fc4b4d753e
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL