https://bugs.documentfoundation.org/show_bug.cgi?id=168858
Bug ID: 168858
Summary: Conditional Sections Are Improperly Set to 0 When
Opened With LibreOffice
Product: LibreOffice
Version: 25.8.0.0 alpha0+
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
When there are conditional sections next to each other, not wrapped in a table,
one of the conditions is changing to 0 when the odt is opened with Libreoffice
25.8, or converted to a pdf using soffice in LibreOffice 25.8. In the
content.xml file we can see the condition is: "" EQ "". This is correct, but
when the odt is opened in LibreOffice 25.8, that section changes to 0. The
affected section is not always the same, depending on the order and how many
there are.
In the attached screenshot and odt we can see the condition is 0, but it should
be: "" EQ "", as it is in the content.xml.
Steps to Reproduce:
1. Have conditional sections within <office:body> and <office:text> in the
content.xml that aren't wrapped in anything else with the condition of: "" EQ
"".
2. Open the odt in LibreOffice 25.8, or use soffice to generate the pdf using
LibreOffice 25.8. One or more sections will be 0 when they weren't 0 in the
content.xml.
Actual Results:
The condition on the section in the xml was "" EQ "", but when opening the odt
in LibreOffice it was 0.
Expected Results:
Instead, the section should have been hidden(True) as the condition should have
stayed as "" EQ "".
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Attachments are important to show this issue
--
You are receiving this mail because:
You are the assignee for the bug.