https://bugs.documentfoundation.org/show_bug.cgi?id=167341
Bug ID: 167341
Summary: FILEOPEN: DocProperties lost/not shown (or included
multiple times in older versions of LibreOffice
Writer)
Product: LibreOffice
Version: 25.2.4.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
- Attached .docx document includes a simple DocProperty "Test" (filled with
text value "ThisIsJustAString")
- This DocProperty is inserted into the document as conditional text/field
via:
{IF {DOCPROPERTY Test \*MERGEFORMAT}<>"" {DOCPROPERTY Test \*MERGEFORMAT}}
- If this document is opened in current LibreOffice versions the
field/DocProperty is initially shown correctly
- If this field is updated (either explicitly via "Update Field" or "Update
All") the DocProperty is lost/no longer printed. (Therefore, the DocProperty
will also not be included while exporting the document to PDF)
- If the attached document is saved as .doc (via Microsoft Office) and opened
via LibreOffice Writer the DocProperty will never be shown
Additional Information:
If the attached document is opened with earlier versions of LibreOffice Writer
(24.8.7 or earlier) the DocProperty was written/shown 3 times. “Update selected
field” does not change anything but “Update All” will show the DocProperty
afterwards only twice.
Steps to Reproduce:
1. Open attached documents via LibreOffice Writer
2. DocProperty "Test" is shown
3. Update the conditional field -> DocProperty is not shown any longer
4. Alternatively export the document to PDF and the DocProperty is no longer
visible
Actual Results:
DocProperty "Test" is not shown any longer after refreshing or exporting to PDF
Expected Results:
DocProperty is shown/included as the condition defines and is not lost after
refreshing the field or exporting the document to PDF
Reproducible: Always
User Profile Reset: No
Additional Info:
see above - in older versions the DocProperty was written 3 times and shortened
after updating all fields.
--
You are receiving this mail because:
You are the assignee for the bug.